Share via


DataType Constructor (XmlSchemaCollection)

Initializes a new instance of the DataType class based on a specified XML schema collection.

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

Syntax

'Declaration
Public Sub New ( _
    xmlSchemaCollection As XmlSchemaCollection _
)
'Usage
Dim xmlSchemaCollection As XmlSchemaCollection

Dim instance As New DataType(xmlSchemaCollection)
public DataType(
    XmlSchemaCollection xmlSchemaCollection
)
public:
DataType(
    XmlSchemaCollection^ xmlSchemaCollection
)
new : 
        xmlSchemaCollection:XmlSchemaCollection -> DataType
public function DataType(
    xmlSchemaCollection : XmlSchemaCollection
)

Parameters