Metodo ProjectInfo.ScriptDeny
Retrieves the script to deny the permission to a project.
Spazio dei nomi Microsoft.SqlServer.Management.IntegrationServices
Assembly: Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)
Sintassi
'Dichiarazione
Public Function ScriptDeny ( _
permission As PermissionType, _
principalId As Integer _
) As ISfcScript
'Utilizzo
Dim instance As ProjectInfo
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
Parametri
- permission
Tipo: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission type.
- principalId
Tipo: System.Int32
The ID of the principal.
Valore restituito
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The script to deny the permission to a project.
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.IntegrationServices