ServerRole.DropMembershipFromRole Método
Removes a role from the fixed server role membership.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub DropMembershipFromRole ( _
roleName As String _
)
'Uso
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
)
Parámetros
- roleName
Tipo: System.String
A String value that specifies the role that is to be removed from the fixed server role membership.