共用方式為


EnumMsdbRoles 方法

Enumerates a list of Microsoft SQL Server database roles associated with the referenced proxy account.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function EnumMsdbRoles As DataTable
'用途
Dim instance As ProxyAccount
Dim returnValue As DataTable

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

傳回值

型別:System.Data. . :: . .DataTable
A DataTable object value that contains a table of information about the SQL Server database roles that are associated with the referenced proxy account.