ProxyAccount.EnumLogins Method

Enumerates a list of Microsoft Windows login accounts associated with the referenced proxy account.

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

Syntax

'Declaration
Public Function EnumLogins As DataTable
'Usage
Dim instance As ProxyAccount 
Dim returnValue As DataTable 

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

Return Value

Type: System.Data.DataTable
A DataTable object value that contains a table of information about the Windows login accounts that are associated with the referenced proxy account.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

ProxyAccount Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_help_proxy (Transact-SQL)