Share via


ExplicitPermissionInfo Constructor

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

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntax

'Declaration
Public Sub New ( _
    grantee As String, _
    grantor As String, _
    permissionType As PermissionType, _
    isDeny As Boolean _
)
'Usage
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
)

Parameters

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

See Also

Reference

ExplicitPermissionInfo Class

Microsoft.SqlServer.Management.IntegrationServices Namespace