DatabaseRole.EnumAgentProxyAccounts 方法

Returns a list of agent proxy accounts that are assigned to the database role.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function EnumAgentProxyAccounts As DataTable
用法
Dim instance As DatabaseRole 
Dim returnValue As DataTable 

returnValue = instance.EnumAgentProxyAccounts()
public DataTable EnumAgentProxyAccounts()
public:
DataTable^ EnumAgentProxyAccounts()
member EnumAgentProxyAccounts : unit -> DataTable
public function EnumAgentProxyAccounts() : DataTable

返回值

类型:System.Data.DataTable
A DataTable system object value that contains information about the agent proxy accounts that are assigned to the database role.

示例

管理用户、角色和登录名

请参阅

参考

DatabaseRole 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

数据库级别的角色