Compartilhar via


Método EnumAccounts

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

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

Sintaxe

'Declaração
Public Function EnumAccounts As DataTable
'Uso
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

Valor de retorno

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