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
- permissions
Type: array<Microsoft.SqlServer.Management.Smo.ServerPermission[]
An array of ServerPermission objects that specify the set of permissions.