IMetadataObjectVisitor<T>.Visit Method (IDatePart)
Visits the specified IDatePart object.
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Function Visit ( _
datePart As IDatePart _
) As T
'Usage
Dim instance As IMetadataObjectVisitor
Dim datePart As IDatePart
Dim returnValue As T
returnValue = instance.Visit(datePart)
T Visit(
IDatePart datePart
)
T Visit(
IDatePart^ datePart
)
abstract Visit :
datePart:IDatePart -> 'T
function Visit(
datePart : IDatePart
) : T
Parameters
- datePart
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IDatePart
The IDatePart object to visit.
Return Value
Type: T
The object that is returned by the visit.