共用方式為


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
)

參數