Método ProjectInfo.ScriptRevoke
Retrieves the script to revoke the permission to a project.
Namespace: Microsoft.SqlServer.Management.IntegrationServices
Assembly: Microsoft.SqlServer.Management.IntegrationServices (em Microsoft.SqlServer.Management.IntegrationServices.dll)
Sintaxe
'Declaração
Public Function ScriptRevoke ( _
permission As PermissionType, _
principalId As Integer _
) As ISfcScript
'Uso
Dim instance As ProjectInfo
Dim permission As PermissionType
Dim principalId As Integer
Dim returnValue As ISfcScript
returnValue = instance.ScriptRevoke(permission, _
principalId)
public ISfcScript ScriptRevoke(
PermissionType permission,
int principalId
)
public:
ISfcScript^ ScriptRevoke(
PermissionType permission,
int principalId
)
member ScriptRevoke :
permission:PermissionType *
principalId:int -> ISfcScript
public function ScriptRevoke(
permission : PermissionType,
principalId : int
) : ISfcScript
Parâmetros
- permission
Tipo: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission type.
- principalId
Tipo: System.Int32
The ID of the principal.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The script to revoke the permission to a project.
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.IntegrationServices