ObjectPermissionSet 构造函数 (ObjectPermission[])
Initializes a new instance of the ObjectPermissionSet class based on the specified set of object permissions.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub New ( _
ParamArray permissions As ObjectPermission() _
)
用法
Dim permissions As ObjectPermission()
Dim instance As New ObjectPermissionSet(permissions)
public ObjectPermissionSet(
params ObjectPermission[] permissions
)
public:
ObjectPermissionSet(
... array<ObjectPermission^>^ permissions
)
new :
permissions:ObjectPermission[] -> ObjectPermissionSet
public function ObjectPermissionSet(
... permissions : ObjectPermission[]
)
参数
- permissions
类型:array<Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermission> [] () [] []
An array of ObjectPermission objects that specify the set of permissions.