Freigeben über


XmlSchemaCollection.EnumTypes-Methode (String)

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

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

Syntax

'Declaration
Public Function EnumTypes ( _
    xmlNamespace As String _
) As DataTable
'Usage
Dim instance As XmlSchemaCollection 
Dim xmlNamespace As String 
Dim returnValue As DataTable 

returnValue = instance.EnumTypes(xmlNamespace)
public DataTable EnumTypes(
    string xmlNamespace
)
public:
DataTable^ EnumTypes(
    String^ xmlNamespace
)
member EnumTypes : 
        xmlNamespace:string -> DataTable
public function EnumTypes(
    xmlNamespace : String
) : DataTable

Parameter

  • xmlNamespace
    Typ: System.String
    A String value that specifies the XML namespace to which to limit the results.

Rückgabewert

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

Beispiele

Verwenden von XML-Schemas

Siehe auch

Verweis

XmlSchemaCollection Klasse

EnumTypes-Überladung

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Verwenden von XML-Schemas

XML-Schemaauflistungen (SQL Server)

CREATE SCHEMA (Transact-SQL)