Aracılığıyla paylaş


Login.EnumAgentProxyAccounts Method

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Function EnumAgentProxyAccounts As DataTable
'Kullanım
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

Return Value

Type: System.Data.DataTable
A DataTable object value that contains a list of agent proxy account in which the login account is participating.

Examples

Managing Users, Roles, and Logins

See Also

Reference

Login Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Principals (Database Engine)

CREATE LOGIN (Transact-SQL)