DatabasePermissionSet Constructor (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 ( _
permission As DatabasePermission _
)
'Usage
Dim permission As DatabasePermission
Dim instance As New DatabasePermissionSet(permission)
public DatabasePermissionSet(
DatabasePermission permission
)
public:
DatabasePermissionSet(
DatabasePermission^ permission
)
new :
permission:DatabasePermission -> DatabasePermissionSet
public function DatabasePermissionSet(
permission : DatabasePermission
)
Parameters
- permission
Type: Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that specifies a single permission for a set of permissions with a single member.