DatabasePermissionSet Constructor (array<DatabasePermission[])
Initializes a new instance of the DatabasePermissionSet class.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
ParamArray permissions As DatabasePermission() _
)
'Usage
Dim permissions As DatabasePermission()
Dim instance As New DatabasePermissionSet(permissions)
public DatabasePermissionSet(
params DatabasePermission[] permissions
)
public:
DatabasePermissionSet(
... array<DatabasePermission^>^ permissions
)
new :
permissions:DatabasePermission[] -> DatabasePermissionSet
public function DatabasePermissionSet(
... permissions : DatabasePermission[]
)
Parameters
- permissions
Type: array<Microsoft.SqlServer.Management.Smo.DatabasePermission[]
An array of
DatabasePermission objects that specify the set of permissions.
See Also