Share via


SystemDataTypeLookupBase.Find Method (DataTypeSpec, Boolean)

Retrieves the ISystemDataType object that has the specified data type specification and maximum storage size (max) setting.

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, _
    isMaximum As Boolean _
) As ISystemDataType
'Usage
Dim instance As SystemDataTypeLookupBase 
Dim typeSpec As DataTypeSpec 
Dim isMaximum As Boolean 
Dim returnValue As ISystemDataType 

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

Parameters

  • isMaximum
    Type: System.Boolean
    true to specify the maximum storage size (max); otherwise, false.

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, Boolean)

See Also

Reference

SystemDataTypeLookupBase Class

Find Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace