Share via


IDataTypeFactory.CreateTableDataType Method

Creates an ITableDataType object that uses the specified name and uses the specified CollationInfo object in creating object collections.

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

Syntax

'Declaration
Function CreateTableDataType ( _
    name As String, _
    collationInfo As CollationInfo _
) As IMutableTableDataType
'Usage
Dim instance As IDataTypeFactory
Dim name As String
Dim collationInfo As CollationInfo
Dim returnValue As IMutableTableDataType

returnValue = instance.CreateTableDataType(name, _
    collationInfo)
IMutableTableDataType CreateTableDataType(
    string name,
    CollationInfo collationInfo
)
IMutableTableDataType^ CreateTableDataType(
    String^ name, 
    CollationInfo^ collationInfo
)
abstract CreateTableDataType : 
        name:string * 
        collationInfo:CollationInfo -> IMutableTableDataType 
function CreateTableDataType(
    name : String, 
    collationInfo : CollationInfo
) : IMutableTableDataType

Parameters

  • name
    Type: System.String
    The name of the table data type object.

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableTableDataType
An ITableDataType object that uses the specified name and uses the specified CollationInfo object in creating object collections.