Partilhar 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 _
)
public DataType (
    XmlSchemaCollection xmlSchemaCollection
)
public:
DataType (
    XmlSchemaCollection^ xmlSchemaCollection
)
public DataType (
    XmlSchemaCollection xmlSchemaCollection
)
public function DataType (
    xmlSchemaCollection : XmlSchemaCollection
)

Parameters

  • xmlSchemaCollection
    A XmlSchemaCollection object variable that specifies an XML schema collection.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Construct a DataType Object by Using the Default Constructor in Visual Basic .NET

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DataType Class
DataType Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with Data Types