SystemDataTypeLookupBase.Find Method (DataTypeSpec, Int32)
Retrieves the ISystemDataType object that has the specified data type specification and the specified precision or maximum length.
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, _
precisionOrMaxLength As Integer _
) As ISystemDataType
'Usage
Dim instance As SystemDataTypeLookupBase
Dim typeSpec As DataTypeSpec
Dim precisionOrMaxLength As Integer
Dim returnValue As ISystemDataType
returnValue = instance.Find(typeSpec, _
precisionOrMaxLength)
public ISystemDataType Find(
DataTypeSpec typeSpec,
int precisionOrMaxLength
)
public:
virtual ISystemDataType^ Find(
DataTypeSpec^ typeSpec,
int precisionOrMaxLength
) sealed
abstract Find :
typeSpec:DataTypeSpec *
precisionOrMaxLength:int -> ISystemDataType
override Find :
typeSpec:DataTypeSpec *
precisionOrMaxLength:int -> ISystemDataType
public final function Find(
typeSpec : DataTypeSpec,
precisionOrMaxLength : int
) : ISystemDataType
Parameters
- typeSpec
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.DataTypeSpec
The DataTypeSpec object that represents the built-in type specification.
- 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.