Udostępnij przez


ServerPermissionSet Constructor (ServerPermission[])

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

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

Syntax

'Deklaracja
Public Sub New ( _
    ParamArray permissions As ServerPermission() _
)
public ServerPermissionSet (
    params ServerPermission[] permissions
)
public:
ServerPermissionSet (
    ... array<ServerPermission^>^ permissions
)
public ServerPermissionSet (
    ServerPermission[] permissions
)
public function ServerPermissionSet (
    ... permissions : ServerPermission[]
)

Parameters

  • permissions
    An array of ServerPermission objects that specify the set of permissions.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.