مشاركة عبر


ServerRole.DropMembershipFromRole Method

Removes a role from the fixed server role membership.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub DropMembershipFromRole ( _
    roleName As String _
)
'Usage
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
)

Parameters

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

See Also

Reference

ServerRole Class

Microsoft.SqlServer.Management.Smo Namespace