Share via


ISystemDataTypeLookup.Find Method (DataTypeSpec, Int32)

Retrieves an ISystemDataType object that has the specified data type specification and precision or maximum length.

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

Syntax

'Declaration
Function Find ( _
    typeSpec As DataTypeSpec, _
    precisionOrMaxLength As Integer _
) As ISystemDataType
'Usage
Dim instance As ISystemDataTypeLookup 
Dim typeSpec As DataTypeSpec 
Dim precisionOrMaxLength As Integer 
Dim returnValue As ISystemDataType 

returnValue = instance.Find(typeSpec, _
    precisionOrMaxLength)
ISystemDataType Find(
    DataTypeSpec typeSpec,
    int precisionOrMaxLength
)
ISystemDataType^ Find(
    DataTypeSpec^ typeSpec, 
    int precisionOrMaxLength
)
abstract Find : 
        typeSpec:DataTypeSpec * 
        precisionOrMaxLength:int -> ISystemDataType
function Find(
    typeSpec : DataTypeSpec, 
    precisionOrMaxLength : int
) : ISystemDataType

Parameters

  • precisionOrMaxLength
    Type: System.Int32
    The precision or maximum length of the data type.

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ISystemDataType
An ISystemDataType object; nulla null reference (Nothing in Visual Basic) if a matching system data type object cannot be found.

See Also

Reference

ISystemDataTypeLookup Interface

Find Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace