共用方式為


GetAccountProfileNames 方法

Gets a string array containing the names of the Mail Profiles which this Mail Account belongs to.

命名空間:  Microsoft.SqlServer.Management.Smo.Mail
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function GetAccountProfileNames As String()
'用途
Dim instance As MailAccount
Dim returnValue As String()

returnValue = instance.GetAccountProfileNames()
public string[] GetAccountProfileNames()
public:
array<String^>^ GetAccountProfileNames()
member GetAccountProfileNames : unit -> string[] 
public function GetAccountProfileNames() : String[]

傳回值

型別:array<System. . :: . .String> [] () [] []
Returns String array containing the names of the Mail Profiles which this Mail Account belongs to.