Поделиться через


Метод XmlSchemaCollection.EnumTypes (String)

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Function EnumTypes ( _
    xmlNamespace As String _
) As DataTable
'Применение
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

Параметры

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

Возвращаемое значение

Тип: 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.

Примеры

Использование схем XML

См. также

Справочник

XmlSchemaCollection Класс

Перегрузка EnumTypes

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Использование схем XML

Коллекции XML-схем (SQL Server)

CREATE SCHEMA (Transact-SQL)