DatabasePermissionSet 构造函数 (array<DatabasePermission )
Initializes a new instance of the DatabasePermissionSet class.
命名空间: 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[]
An array of DatabasePermission objects that specify the set of permissions.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间