Partilhar via


Construtor ExplicitPermissionInfo

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 (em Microsoft.SqlServer.Management.IntegrationServices.dll)

Sintaxe

'Declaração
Public Sub New ( _
    grantee As String, _
    grantor As String, _
    permissionType As PermissionType, _
    isDeny As Boolean _
)
'Uso
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
)

Parâmetros

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

Consulte também

Referência

ExplicitPermissionInfo Classe

Namespace Microsoft.SqlServer.Management.IntegrationServices