Operation.Grant Method
Grants permission to the operation.
Namespace: Microsoft.SqlServer.Management.IntegrationServices
Assembly: Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)
Syntax
'Declaration
Public Sub Grant ( _
permission As PermissionType, _
granteeName As String _
)
'Usage
Dim instance As Operation
Dim permission As PermissionType
Dim granteeName As String
instance.Grant(permission, granteeName)
public void Grant(
PermissionType permission,
string granteeName
)
public:
void Grant(
PermissionType permission,
String^ granteeName
)
member Grant :
permission:PermissionType *
granteeName:string -> unit
public function Grant(
permission : PermissionType,
granteeName : String
)
Parameters
- permission
Type: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission to be granted.
- granteeName
Type: System.String
The name of the grantee.
See Also
Reference
Microsoft.SqlServer.Management.IntegrationServices Namespace