RemoveAccount 方法
Removes the association between a mail account and the referenced mail profile.
命名空間: Microsoft.SqlServer.Management.Smo.Mail
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub RemoveAccount ( _
accountName As String _
)
'用途
Dim instance As MailProfile
Dim accountName As String
instance.RemoveAccount(accountName)
public void RemoveAccount(
string accountName
)
public:
void RemoveAccount(
String^ accountName
)
member RemoveAccount :
accountName:string -> unit
public function RemoveAccount(
accountName : String
)
參數
- accountName
型別:System. . :: . .String
A String value that specifies the name of the mail account.