Share via


IServerOwnedObject.Accept<T> Method (IServerOwnedObjectVisitor<T>)

Accepts a visit from the specified IServerOwnedObjectVisitor<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 IServerOwnedObjectVisitor(Of T) _
) As T
'Usage
Dim instance As IServerOwnedObject
Dim visitor As IServerOwnedObjectVisitor(Of T)
Dim returnValue As T

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

Type Parameters

Return Value

Type: T
The value that is returned by the IServerOwnedObjectVisitor<T> object.