다음을 통해 공유


Operation.ScriptGrant 메서드

Grants the script for the operation.

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

구문

‘선언
Public Function ScriptGrant ( _
    permission As PermissionType, _
    principalId As Integer _
) As ISfcScript
‘사용 방법
Dim instance As Operation 
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

매개 변수

  • principalId
    유형: System.Int32
    The principal identifier.

반환 값

유형: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The granted operation script.

참고 항목

참조

Operation 클래스

Microsoft.SqlServer.Management.IntegrationServices 네임스페이스