Share via


IDatabaseOwnedObject.Accept<T> Method (IDatabaseOwnedObjectVisitor<T>)

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

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

Type Parameters

Parameters

Return Value

Type: T
The value returned by the IDatabaseOwnedObjectVisitor<T> object.

See Also

Reference

IDatabaseOwnedObject Interface

Accept Overload

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace