共用方式為


DatabasePermissionSet 建構函式 (DatabasePermissionSet)

初始化 DatabasePermissionSet 類別的新執行個體。

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    oDatabasePermissionSet As DatabasePermissionSet _
)
'用途
Dim oDatabasePermissionSet As DatabasePermissionSet

Dim instance As New DatabasePermissionSet(oDatabasePermissionSet)
public DatabasePermissionSet(
    DatabasePermissionSet oDatabasePermissionSet
)
public:
DatabasePermissionSet(
    DatabasePermissionSet^ oDatabasePermissionSet
)
new : 
        oDatabasePermissionSet:DatabasePermissionSet -> DatabasePermissionSet
public function DatabasePermissionSet(
    oDatabasePermissionSet : DatabasePermissionSet
)

參數

備註

The DatabasePermissionSet object is used to grant, deny, revoke, and enumerate database permissions (also known as statement permissions).