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.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo.Mail 命名空間