Partager via


EnumAccounts méthode

Returns an enumerated list of email accounts associated with the referenced mail profile.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Mail
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function EnumAccounts As DataTable
'Utilisation
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

Valeur de retour

Type : 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.