Login.EnumAgentProxyAccounts 方法

Enumerates a list of agent proxy accounts in which the login account is participating.

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

语法

声明
Public Function EnumAgentProxyAccounts As DataTable
用法
Dim instance As Login 
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 object value that contains a list of agent proxy account in which the login account is participating.

示例

管理用户、角色和登录名

请参阅

参考

Login 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

主体(数据库引擎)

CREATE LOGIN (Transact-SQL)