Compartilhar via


Operation.ScriptGrant(PermissionType, Int32) Método

Definição

Concede o script para a operação.

public:
 Microsoft::SqlServer::Management::Sdk::Sfc::ISfcScript ^ ScriptGrant(Microsoft::SqlServer::Management::IntegrationServices::PermissionType permission, int principalId);
public Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript ScriptGrant (Microsoft.SqlServer.Management.IntegrationServices.PermissionType permission, int principalId);
member this.ScriptGrant : Microsoft.SqlServer.Management.IntegrationServices.PermissionType * int -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Public Function ScriptGrant (permission As PermissionType, principalId As Integer) As ISfcScript

Parâmetros

permission
PermissionType

A permissão.

principalId
Int32

O identificador principal.

Retornos

O script de operação concedido.

Aplica-se a