Partilhar via


Método Visit (IDatePart)

Visits the specified IDatePart object.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (em Microsoft.SqlServer.Management.SqlParser.dll)

Sintaxe

'Declaração
Function Visit ( _
    datePart As IDatePart _
) As T
'Uso
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

Valor de retorno

Tipo: T
The object that is returned by the visit.