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
매개 변수
- permission
유형: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission.
- principalId
유형: System.Int32
The principal identifier.
반환 값
유형: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The granted operation script.