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
- T
The type of the value returned by the IDatabaseOwnedObjectVisitor<T> object.
Parameters
- visitor
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabaseOwnedObjectVisitor<T>
An IDatabaseOwnedObjectVisitor<T> object that performs the visit.
Return Value
Type: T
The value returned by the IDatabaseOwnedObjectVisitor<T> object.