共用方式為


Operation.Grant(PermissionType, String) Method

Definition

Grants permission to the operation.

public:
 void Grant(Microsoft::SqlServer::Management::IntegrationServices::PermissionType permission, System::String ^ granteeName);
public void Grant (Microsoft.SqlServer.Management.IntegrationServices.PermissionType permission, string granteeName);
member this.Grant : Microsoft.SqlServer.Management.IntegrationServices.PermissionType * string -> unit
Public Sub Grant (permission As PermissionType, granteeName As String)

Parameters

permission
PermissionType

The permission to be granted.

granteeName
String

The name of the grantee.

Applies to