Delen via


ServerPermissionSet Constructor (array<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

'Declaration
Public Sub New ( _
    ParamArray permissions As ServerPermission() _
)
'Usage
Dim permissions As ServerPermission()

Dim instance As New ServerPermissionSet(permissions)
public ServerPermissionSet(
    params ServerPermission[] permissions
)
public:
ServerPermissionSet(
    ... array<ServerPermission^>^ permissions
)
new : 
        permissions:ServerPermission[] -> ServerPermissionSet
public function ServerPermissionSet(
    ... permissions : ServerPermission[]
)

Parameters