ExplicitPermissionInfo 构造函数

Initializes a new instance of the ExplicitPermissionInfo class with the specified grantee, grantor and permission type.

命名空间:  Microsoft.SqlServer.Management.IntegrationServices
程序集:  Microsoft.SqlServer.Management.IntegrationServices(在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)

语法

声明
Public Sub New ( _
    grantee As String, _
    grantor As String, _
    permissionType As PermissionType, _
    isDeny As Boolean _
)
用法
Dim grantee As String 
Dim grantor As String 
Dim permissionType As PermissionType 
Dim isDeny As Boolean 

Dim instance As New ExplicitPermissionInfo(grantee, _
    grantor, permissionType, isDeny)
public ExplicitPermissionInfo(
    string grantee,
    string grantor,
    PermissionType permissionType,
    bool isDeny
)
public:
ExplicitPermissionInfo(
    String^ grantee, 
    String^ grantor, 
    PermissionType permissionType, 
    bool isDeny
)
new : 
        grantee:string * 
        grantor:string * 
        permissionType:PermissionType * 
        isDeny:bool -> ExplicitPermissionInfo
public function ExplicitPermissionInfo(
    grantee : String, 
    grantor : String, 
    permissionType : PermissionType, 
    isDeny : boolean
)

参数

  • grantee
    类型:System.String
    The name of the principal that granted the permission.
  • grantor
    类型:System.String
    The name of the principal that grants the permission.
  • isDeny
    类型:System.Boolean
    true to an object that is a denied permission; otherwise, false.

请参阅

参考

ExplicitPermissionInfo 类

Microsoft.SqlServer.Management.IntegrationServices 命名空间