Méthode RemoveServerRole
Removes a Microsoft SQL Server server role from the referenced proxy account.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub RemoveServerRole ( _
serverRoleName As String _
)
'Utilisation
Dim instance As ProxyAccount
Dim serverRoleName As String
instance.RemoveServerRole(serverRoleName)
public void RemoveServerRole(
string serverRoleName
)
public:
void RemoveServerRole(
String^ serverRoleName
)
member RemoveServerRole :
serverRoleName:string -> unit
public function RemoveServerRole(
serverRoleName : String
)
Paramètres
- serverRoleName
Type : System. . :: . .String
A String value that specifies the SQL Server server role to be removed.
Voir aussi