Freigeben über


MailProfile.EnumPrincipals-Methode

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

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

Syntax

'Declaration
Public Function EnumPrincipals As DataTable
'Usage
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

Rückgabewert

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

Beispiele

Verwenden von Datenbank-E-Mail

Siehe auch

Verweis

MailProfile Klasse

Microsoft.SqlServer.Management.Smo.Mail-Namespace

Andere Ressourcen

Datenbank-E-Mail