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.