CatalogFolder.ScriptGrant Método
Indicates the script to grant the permission to a folder.
Espacio de nombres: Microsoft.SqlServer.Management.IntegrationServices
Ensamblado: Microsoft.SqlServer.Management.IntegrationServices (en Microsoft.SqlServer.Management.IntegrationServices.dll)
Sintaxis
'Declaración
Public Function ScriptGrant ( _
permission As PermissionType, _
principalId As Integer _
) As ISfcScript
'Uso
Dim instance As CatalogFolder
Dim permission As PermissionType
Dim principalId As Integer
Dim returnValue As ISfcScript
returnValue = instance.ScriptGrant(permission, _
principalId)
public ISfcScript ScriptGrant(
PermissionType permission,
int principalId
)
public:
ISfcScript^ ScriptGrant(
PermissionType permission,
int principalId
)
member ScriptGrant :
permission:PermissionType *
principalId:int -> ISfcScript
public function ScriptGrant(
permission : PermissionType,
principalId : int
) : ISfcScript
Parámetros
- permission
Tipo: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission type.
- principalId
Tipo: System.Int32
The identifier of the principal.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The script to grant the permission to a folder.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.IntegrationServices