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