BuiltInFunctionLookupBase Constructor (IMetadataCollection<IBuiltInFunction>, IMetadataCollection<IDatePart>)
Initializes a new instance of the BuiltInFunctionLookupBase class by using the specified metadata object collections.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Protected Sub New ( _
allBuiltIns As IMetadataCollection(Of IBuiltInFunction), _
dateParts As IMetadataCollection(Of IDatePart) _
)
'Usage
Dim allBuiltIns As IMetadataCollection(Of IBuiltInFunction)
Dim dateParts As IMetadataCollection(Of IDatePart)
Dim instance As New BuiltInFunctionLookupBase(allBuiltIns, _
dateParts)
protected BuiltInFunctionLookupBase(
IMetadataCollection<IBuiltInFunction> allBuiltIns,
IMetadataCollection<IDatePart> dateParts
)
protected:
BuiltInFunctionLookupBase(
IMetadataCollection<IBuiltInFunction^>^ allBuiltIns,
IMetadataCollection<IDatePart^>^ dateParts
)
new :
allBuiltIns:IMetadataCollection<IBuiltInFunction> *
dateParts:IMetadataCollection<IDatePart> -> BuiltInFunctionLookupBase
protected function BuiltInFunctionLookupBase(
allBuiltIns : IMetadataCollection<IBuiltInFunction>,
dateParts : IMetadataCollection<IDatePart>
)
Parameters
- allBuiltIns
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<IBuiltInFunction>
The IMetadataCollection<T> of IBuiltInFunction that contains all built-in functions and system functions that start with two at signs (@@).
- dateParts
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<IDatePart>
The IMetadataCollection<T> of IDatePart that contains all supported date-parts.
See Also
Reference
BuiltInFunctionLookupBase Class
BuiltInFunctionLookupBase Overload
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace