Partager via


RemoveMsdbRole méthode

Removes a Microsoft SQL Server database role from the referenced proxy account.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub RemoveMsdbRole ( _
    msdbRoleName As String _
)
'Utilisation
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
)

Paramètres