Share via


IServerOwnedObjectVisitor<T>.Visit Method (IDatabase)

Visits the specified IDatabase object.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Function Visit ( _
    database As IDatabase _
) As T
'Usage
Dim instance As IServerOwnedObjectVisitor
Dim database As IDatabase
Dim returnValue As T

returnValue = instance.Visit(database)
T Visit(
    IDatabase database
)
T Visit(
    IDatabase^ database
)
abstract Visit : 
        database:IDatabase -> 'T 
function Visit(
    database : IDatabase
) : T

Parameters

Return Value

Type: T
The object that is returned by the visit.