Share via


IUserDefinedTypeFactory.CreateDataType Method

Creates an IMutableUserDefinedDataType object that belongs to the specified ISchema object and has the specified name.

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

Syntax

'Declaration
Function CreateDataType ( _
    schema As ISchema, _
    name As String _
) As IMutableUserDefinedDataType
'Usage
Dim instance As IUserDefinedTypeFactory
Dim schema As ISchema
Dim name As String
Dim returnValue As IMutableUserDefinedDataType

returnValue = instance.CreateDataType(schema, _
    name)
IMutableUserDefinedDataType CreateDataType(
    ISchema schema,
    string name
)
IMutableUserDefinedDataType^ CreateDataType(
    ISchema^ schema, 
    String^ name
)
abstract CreateDataType : 
        schema:ISchema * 
        name:string -> IMutableUserDefinedDataType 
function CreateDataType(
    schema : ISchema, 
    name : String
) : IMutableUserDefinedDataType

Parameters