Share via


IDatabaseObject.Accept<T> Method (IDatabaseObjectVisitor<T>)

Accepts a visit from the specified IDatabaseObjectVisitor<T> object.

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

Syntax

'Declaration
Function Accept(Of T) ( _
    visitor As IDatabaseObjectVisitor(Of T) _
) As T
'Usage
Dim instance As IDatabaseObject
Dim visitor As IDatabaseObjectVisitor(Of T)
Dim returnValue As T

returnValue = instance.Accept(visitor)
T Accept<T>(
    IDatabaseObjectVisitor<T> visitor
)
generic<typename T>
T Accept(
    IDatabaseObjectVisitor<T>^ visitor
)
abstract Accept : 
        visitor:IDatabaseObjectVisitor<'T> -> 'T 
JScript does not support generic types and methods.

Type Parameters

Parameters

Return Value

Type: T
The value returned by the visitor.