Metodo ServerRole.DropMembershipFromRole

Removes a role from the fixed server role membership.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub DropMembershipFromRole ( _
    roleName As String _
)
'Utilizzo
Dim instance As ServerRole 
Dim roleName As String

instance.DropMembershipFromRole(roleName)
public void DropMembershipFromRole(
    string roleName
)
public:
void DropMembershipFromRole(
    String^ roleName
)
member DropMembershipFromRole : 
        roleName:string -> unit
public function DropMembershipFromRole(
    roleName : String
)

Parametri

  • roleName
    Tipo: System.String
    A String value that specifies the role that is to be removed from the fixed server role membership.

Vedere anche

Riferimento

ServerRole Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo