Метод ServerRole.DropMembershipFromRole
Removes a role from the fixed server role membership.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub DropMembershipFromRole ( _
roleName As String _
)
'Применение
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
)
Параметры
- roleName
Тип: System.String
A String value that specifies the role that is to be removed from the fixed server role membership.