ISchemaOwnedObject.Accept<T> Method (ISchemaOwnedObjectVisitor<T>)
Accepts a visit from the specified ISchemaOwnedObjectVisitor<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 ISchemaOwnedObjectVisitor(Of T) _
) As T
'Usage
Dim instance As ISchemaOwnedObject
Dim visitor As ISchemaOwnedObjectVisitor(Of T)
Dim returnValue As T
returnValue = instance.Accept(visitor)
T Accept<T>(
ISchemaOwnedObjectVisitor<T> visitor
)
generic<typename T>
T Accept(
ISchemaOwnedObjectVisitor<T>^ visitor
)
abstract Accept :
visitor:ISchemaOwnedObjectVisitor<'T> -> 'T
JScript does not support generic types and methods.
Type Parameters
- T
The type of the value returned by the ISchemaOwnedObjectVisitor<T> object.
Parameters
- visitor
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ISchemaOwnedObjectVisitor<T>
The ISchemaOwnedObjectVisitor<T> object that performs the visit.
Return Value
Type: T
The value that is returned by the ISchemaOwnedObjectVisitor<T> object.