共用方式為


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.