Share via


IDatabaseOwnedObjectVisitor<T>.Visit Method (IDatabaseRole)

Visits the specified IDatabaseRole object.

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

Syntax

'Declaration
Function Visit ( _
    databaseRole As IDatabaseRole _
) As T
'Usage
Dim instance As IDatabaseOwnedObjectVisitor
Dim databaseRole As IDatabaseRole
Dim returnValue As T

returnValue = instance.Visit(databaseRole)
T Visit(
    IDatabaseRole databaseRole
)
T Visit(
    IDatabaseRole^ databaseRole
)
abstract Visit : 
        databaseRole:IDatabaseRole -> 'T 
function Visit(
    databaseRole : IDatabaseRole
) : T

Parameters

Return Value

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