Share via


MailAccount.GetAccountProfileNames Method

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

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

Syntax

'Declaration
Public Function GetAccountProfileNames As String()
'Usage
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[]

Return Value

Type: array<System.String[]
Returns String array containing the names of the Mail Profiles which this Mail Account belongs to.

See Also

Reference

MailAccount Class

Microsoft.SqlServer.Management.Smo.Mail Namespace