ProjectInfo.Revoke Method
Revokes the permission to the specified user.
Namespace: Microsoft.SqlServer.Management.IntegrationServices
Assembly: Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)
Syntax
'Declaration
Public Sub Revoke ( _
permission As PermissionType, _
granteeName As String _
)
'Usage
Dim instance As ProjectInfo
Dim permission As PermissionType
Dim granteeName As String
instance.Revoke(permission, granteeName)
public void Revoke(
PermissionType permission,
string granteeName
)
public:
void Revoke(
PermissionType permission,
String^ granteeName
)
member Revoke :
permission:PermissionType *
granteeName:string -> unit
public function Revoke(
permission : PermissionType,
granteeName : String
)
Parameters
- permission
Type: Microsoft.SqlServer.Management.IntegrationServices.PermissionType
The permission type.
- granteeName
Type: System.String
The name of the user.
See Also
Reference
Microsoft.SqlServer.Management.IntegrationServices Namespace