REVOKE XML Schema Collection Permissions
REVOKE permissions on xml schema collection
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
REVOKE [ GRANT OPTION FOR ] permission [ ,...n ] ON XML SCHEMA COLLECTION :: [ schema_name . ] XML_schema_collection_name { TO | FROM } <database_principal> [ ,...n ] [ CASCADE ] [ AS <database_principal> ]
Work example
A principal no longer needs a direct permission on one XML schema collection.
Check typed XML columns, procedure parameters, and grants inherited from roles.
Check your work The direct permission is absent and valid XML workflows still pass their access review.
Open Microsoft Learn for full syntax, permissions, and details for your version.