Share via


IDataTypeFactory Interface

Defines properties and methods that are used to create IDataType objects.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Interface IDataTypeFactory
'Usage
Dim instance As IDataTypeFactory
public interface IDataTypeFactory
public interface class IDataTypeFactory
type IDataTypeFactory =  interface end
public interface IDataTypeFactory

The IDataTypeFactory type exposes the following members.

Properties

  Name Description
Public property Cursor Gets a singleton ICursorDataType object that represents a cursor data type.
Public property UnknownClr Gets a placeholder IClrDataType object that can be used when the user-defined data type is not known.
Public property UnknownScalar Gets a placeholder IScalarDataType object that can be used when the scalar data type is not known.
Public property UnknownTable Gets a placeholder ITableDataType object that can be used when the table data type is not known.
Public property Void Gets a singleton IScalarDataType object that represents a void data type.

Top

Methods

  Name Description
Public method CreateTableDataType Creates an ITableDataType object that uses the specified name and uses the specified CollationInfo object in creating object collections.

Top