Operation.ScriptGrant(PermissionType, Int32) 方法

定义

为此操作授予脚本。

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

参数

permission
PermissionType

权限。

principalId
Int32

主体标识符。

返回

授予的操作脚本。

适用于