Поделиться через


Конструктор ServerPermissionSet (ServerPermissionSet)

Initializes a new instance of the ServerPermissionSet class based on the specified set of permissions.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub New ( _
    oServerPermissionSet As ServerPermissionSet _
)
'Применение
Dim oServerPermissionSet As ServerPermissionSet

Dim instance As New ServerPermissionSet(oServerPermissionSet)
public ServerPermissionSet(
    ServerPermissionSet oServerPermissionSet
)
public:
ServerPermissionSet(
    ServerPermissionSet^ oServerPermissionSet
)
new : 
        oServerPermissionSet:ServerPermissionSet -> ServerPermissionSet
public function ServerPermissionSet(
    oServerPermissionSet : ServerPermissionSet
)

Параметры

Замечания

The ServerPermissionSet object is used to grant, deny, revoke, and enumerate database permissions (also known as statement permissions).