ISystemDataTypeLookup.Find Method (DataTypeSpec, Boolean)
Retrieves an 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
Function Find ( _
typeSpec As DataTypeSpec, _
isMaximum As Boolean _
) As ISystemDataType
'Usage
Dim instance As ISystemDataTypeLookup
Dim typeSpec As DataTypeSpec
Dim isMaximum As Boolean
Dim returnValue As ISystemDataType
returnValue = instance.Find(typeSpec, _
isMaximum)
ISystemDataType Find(
DataTypeSpec typeSpec,
bool isMaximum
)
ISystemDataType^ Find(
DataTypeSpec^ typeSpec,
bool isMaximum
)
abstract Find :
typeSpec:DataTypeSpec *
isMaximum:bool -> ISystemDataType
function Find(
typeSpec : DataTypeSpec,
isMaximum : boolean
) : ISystemDataType
Parameters
- typeSpec
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.DataTypeSpec
The DataTypeSpec object that represents the built-in type specification.
- 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.
See Also
Reference
ISystemDataTypeLookup Interface
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace