DatabasePermissionSet 建構函式 (DatabasePermission[])
初始化 DatabasePermissionSet 類別的新執行個體。
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub New ( _
ParamArray permissions As DatabasePermission() _
)
'用途
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[]
)
參數
- permissions
型別:array<Microsoft.SqlServer.Management.Smo. . :: . .DatabasePermission> [] () [] []
指定權限集合之
DatabasePermission 物件的陣列。