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