共用方式為


EnumPrincipals 方法

Returns an enumerated list of security principals associated with the referenced mail profile.

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

語法

'宣告
Public Function EnumPrincipals As DataTable
'用途
Dim instance As MailProfile
Dim returnValue As DataTable

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

傳回值

型別:System.Data. . :: . .DataTable
A DataTable object value that contains a table of information about security principals that are associated with the referenced mail profile.