AddAccount 方法
Associates a mail account with the referenced mail profile.
命名空間: Microsoft.SqlServer.Management.Smo.Mail
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub AddAccount ( _
accountName As String, _
sequenceNumber As Integer _
)
'用途
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
)
參數
- accountName
型別:System. . :: . .String
A String value that specifies the name of the mail account.
- sequenceNumber
型別:System. . :: . .Int32
An Int32 value that specifies the sequence number of the mail account for the referenced profile.