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