Compartilhar via


Método EnvironmentInfo.ScriptDeny

Indicates the script to deny the permission to an environment.

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

Sintaxe

'Declaração
Public Function ScriptDeny ( _
    permission As PermissionType, _
    principalId As Integer _
) As ISfcScript
'Uso
Dim instance As EnvironmentInfo 
Dim permission As PermissionType 
Dim principalId As Integer 
Dim returnValue As ISfcScript 

returnValue = instance.ScriptDeny(permission, _
    principalId)
public ISfcScript ScriptDeny(
    PermissionType permission,
    int principalId
)
public:
ISfcScript^ ScriptDeny(
    PermissionType permission, 
    int principalId
)
member ScriptDeny : 
        permission:PermissionType * 
        principalId:int -> ISfcScript
public function ScriptDeny(
    permission : PermissionType, 
    principalId : int
) : ISfcScript

Parâmetros

  • principalId
    Tipo: System.Int32
    The identifier of the principal.

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The script to deny the permission to an environment.

Consulte também

Referência

EnvironmentInfo Classe

Namespace Microsoft.SqlServer.Management.IntegrationServices