XmlSchemaCollection.Grant Method

Grants the specified set of permissions to the specified grantees on the XML schema collection.

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 Description
XmlSchemaCollection.Grant (ObjectPermissionSet, String)
Grants the specified set of permissions to the specified grantee on the XML schema collection.
XmlSchemaCollection.Grant (ObjectPermissionSet, String[])
Grants the specified set of permissions to the specified grantees on the XML schema collection.
XmlSchemaCollection.Grant (ObjectPermissionSet, String, Boolean)
Grants access to the specified permission and the ability to grant access to other uses for the specified grantee on the XML schema collection.
XmlSchemaCollection.Grant (ObjectPermissionSet, String[], Boolean)
Grants access to the specified permission and the ability to grant access to other uses for the specified grantees on the XML schema collection.
XmlSchemaCollection.Grant (ObjectPermissionSet, String, Boolean, String)
Grants the specified set of permissions and the ability to grant access to other uses for the specified grantee on the XML schema collection.
XmlSchemaCollection.Grant (ObjectPermissionSet, String[], Boolean, String)
Grants access to the specified set of permissions and the ability to grant the set of permissions to other users on the XML schema collection under an assumed role.

请参阅

参考

XmlSchemaCollection Class
XmlSchemaCollection Members
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Granting, Revoking, and Denying Permissions
Using XML Schemas
管理服务器上的 XML 架构集合
CREATE SCHEMA (Transact-SQL)