Compartir a través de


ExplicitPermissionInfo Constructor

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

Espacio de nombres:  Microsoft.SqlServer.Management.IntegrationServices
Ensamblado:  Microsoft.SqlServer.Management.IntegrationServices (en Microsoft.SqlServer.Management.IntegrationServices.dll)

Sintaxis

'Declaración
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.

Vea también

Referencia

ExplicitPermissionInfo Clase

Espacio de nombres Microsoft.SqlServer.Management.IntegrationServices