Share via


SystemDataTypeLookupBase.Find Method (DataTypeSpec, Int32, Int32)

Retrieves the ISystemDataType object that has the specified data type specification, precision, and scale.

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

Syntax

'Declaration
Public Function Find ( _
    typeSpec As DataTypeSpec, _
    precision As Integer, _
    scale As Integer _
) As ISystemDataType
'Usage
Dim instance As SystemDataTypeLookupBase
Dim typeSpec As DataTypeSpec
Dim precision As Integer
Dim scale As Integer
Dim returnValue As ISystemDataType

returnValue = instance.Find(typeSpec, _
    precision, scale)
public ISystemDataType Find(
    DataTypeSpec typeSpec,
    int precision,
    int scale
)
public:
virtual ISystemDataType^ Find(
    DataTypeSpec^ typeSpec, 
    int precision, 
    int scale
) sealed
abstract Find : 
        typeSpec:DataTypeSpec * 
        precision:int * 
        scale:int -> ISystemDataType 
override Find : 
        typeSpec:DataTypeSpec * 
        precision:int * 
        scale:int -> ISystemDataType 
public final function Find(
    typeSpec : DataTypeSpec, 
    precision : int, 
    scale : int
) : ISystemDataType

Parameters

  • precision
    Type: System.Int32
    The precision 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.

Implements

ISystemDataTypeLookup.Find(DataTypeSpec, Int32, Int32)