ProjectInfo.ScriptGrant 메서드

SQL Server 2012

Retrieves the script to grant the permission to a project.

네임스페이스:  Microsoft.SqlServer.Management.IntegrationServices
어셈블리:  Microsoft.SqlServer.Management.IntegrationServices(Microsoft.SqlServer.Management.IntegrationServices.dll)

public ISfcScript ScriptGrant(
	PermissionType permission,
	int principalId
)

매개 변수

permission
유형: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission type.
principalId
유형: System.Int32
The ID of the principal.

반환 값

유형: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The script to grant the permission to a project.

커뮤니티 추가 항목

추가
표시: