Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Associates a mail account with the referenced mail profile.
Namespace: Microsoft.SqlServer.Management.Smo.Mail
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub AddAccount ( _
accountName As String, _
sequenceNumber As Integer _
)
'Usage
Dim instance As MailProfile
Dim accountName As String
Dim sequenceNumber As Integer
instance.AddAccount(accountName, sequenceNumber)
public void AddAccount(
string accountName,
int sequenceNumber
)
public:
void AddAccount(
String^ accountName,
int sequenceNumber
)
member AddAccount :
accountName:string *
sequenceNumber:int -> unit
public function AddAccount(
accountName : String,
sequenceNumber : int
)
Parameters
- accountName
Type: System.String
A String value that specifies the name of the mail account.
- sequenceNumber
Type: System.Int32
An Int32 value that specifies the sequence number of the mail account for the referenced profile.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo.Mail Namespace