Share via


DataTypeSpec.GetDataTypeSpec Method

Gets a DataTypeSpec object with a name that matches the specified name.

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

Syntax

'Declaration
Public Shared Function GetDataTypeSpec ( _
    typeName As String _
) As DataTypeSpec
'Usage
Dim typeName As String
Dim returnValue As DataTypeSpec

returnValue = DataTypeSpec.GetDataTypeSpec(typeName)
public static DataTypeSpec GetDataTypeSpec(
    string typeName
)
public:
static DataTypeSpec^ GetDataTypeSpec(
    String^ typeName
)
static member GetDataTypeSpec : 
        typeName:string -> DataTypeSpec 
public static function GetDataTypeSpec(
    typeName : String
) : DataTypeSpec

Parameters

  • typeName
    Type: System.String
    The name of the data type specification to find.