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.