Метод Revoke (ObjectPermissionSet, String)
Revokes previously granted permissions from a grantee on the service queue.
Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub Revoke ( _
permission As ObjectPermissionSet, _
granteeName As String _
)
'Применение
Dim instance As ServiceQueue
Dim permission As ObjectPermissionSet
Dim granteeName As String
instance.Revoke(permission, granteeName)
public void Revoke(
ObjectPermissionSet permission,
string granteeName
)
public:
virtual void Revoke(
ObjectPermissionSet^ permission,
String^ granteeName
) sealed
abstract Revoke :
permission:ObjectPermissionSet *
granteeName:string -> unit
override Revoke :
permission:ObjectPermissionSet *
granteeName:string -> unit
public final function Revoke(
permission : ObjectPermissionSet,
granteeName : String
)
Параметры
- permission
Тип Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionSet
An ObjectPermissionSet object that specifies the permission.
- granteeName
Тип System. . :: . .String
A String value that specifies a grantee to be revoked access to the permission.
Реализует интерфейс
IObjectPermission. . :: . .Revoke(ObjectPermissionSet, String)
См. также