Freigeben über


MailProfile.EnumAccounts-Methode

Returns an enumerated list of email accounts 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 EnumAccounts As DataTable
'Usage
Dim instance As MailProfile 
Dim returnValue As DataTable 

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

Rückgabewert

Typ: System.Data.DataTable
A DataTable object value that contains a table of information about e-mail accounts 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