Delen via


XmlSchemaCollection.EnumNamespaces Method

Enumerates a list of namespaces that are components of the XML schema collection.

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

Syntax

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

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

Return Value

Type: System.Data.DataTable
A DataTable system object value that contains a list of namespaces that belong to the XML schema collection.

Examples

Using XML Schemas

See Also

Reference

XmlSchemaCollection Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using XML Schemas

XML Schema Collections (SQL Server)

CREATE SCHEMA (Transact-SQL)