XmlSchemaCollection.EnumTypes Method

Enumerates a list of all the types contained within the XML schema collection.

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

Syntax

'Declaration
Public Function EnumTypes As DataTable
'Usage
Dim instance As XmlSchemaCollection 
Dim returnValue As DataTable 

returnValue = instance.EnumTypes()
public DataTable EnumTypes()
public:
DataTable^ EnumTypes()
member EnumTypes : unit -> DataTable
public function EnumTypes() : DataTable

Return Value

Type: System.Data.DataTable
A DataTable system object value that contains a list of all the types in the XML schema collection.

Examples

Using XML Schemas

See Also

Reference

XmlSchemaCollection Class

EnumTypes Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using XML Schemas

XML Schema Collections (SQL Server)

CREATE SCHEMA (Transact-SQL)