Aracılığıyla paylaş


XmlSchemaCollection.EnumObjectPermissions Method

Enumerates a list of object permissions for the XML schema collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Function EnumObjectPermissions As ObjectPermissionInfo()
'Kullanım
Dim instance As XmlSchemaCollection
Dim returnValue As ObjectPermissionInfo()

returnValue = instance.EnumObjectPermissions()
public ObjectPermissionInfo[] EnumObjectPermissions()
public:
virtual array<ObjectPermissionInfo^>^ EnumObjectPermissions() sealed
abstract EnumObjectPermissions : unit -> ObjectPermissionInfo[] 
override EnumObjectPermissions : unit -> ObjectPermissionInfo[] 
public final function EnumObjectPermissions() : ObjectPermissionInfo[]

Return Value

Type: array<Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
An array of ObjectPermissionInfo objects that contains object permission information for the XML schema collection.

Implements

IObjectPermission.EnumObjectPermissions()

Examples

Using XML Schemas

See Also

Reference

XmlSchemaCollection Class

EnumObjectPermissions Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using XML Schemas

XML Schema Collections (SQL Server)

CREATE SCHEMA (Transact-SQL)