ProxyAccount.RemoveLogin 方法
Removes a Microsoft Windows login account from the referenced proxy account.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub RemoveLogin ( _
loginName As String _
)
用法
Dim instance As ProxyAccount
Dim loginName As String
instance.RemoveLogin(loginName)
public void RemoveLogin(
string loginName
)
public:
void RemoveLogin(
String^ loginName
)
member RemoveLogin :
loginName:string -> unit
public function RemoveLogin(
loginName : String
)
参数
- loginName
类型:System.String
A String value that specifies the Windows login account to be removed.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Agent 命名空间