MailProfile.EnumAccounts 方法

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

命名空间:  Microsoft.SqlServer.Management.Smo.Mail
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function EnumAccounts As DataTable
用法
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

返回值

类型: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.

示例

使用数据库邮件

请参阅

参考

MailProfile 类

Microsoft.SqlServer.Management.Smo.Mail 命名空间

其他资源

数据库邮件