Метод MailProfile.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.

Примеры

Использование компонента Database Mail

См. также

Справочник

MailProfile Класс

Пространство имен Microsoft.SqlServer.Management.Smo.Mail

Другие ресурсы

Компонент Database Mail