DatabasePermissionSet 建構函式 (DatabasePermission)
初始化 DatabasePermissionSet 類別的新執行個體。
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub New ( _
permission As DatabasePermission _
)
'用途
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
)
參數
- permission
型別:Microsoft.SqlServer.Management.Smo. . :: . .DatabasePermission
DatabasePermission 物件,為具有單一成員的權限集合指定單一權限。