Share via


IBinder.Bind Method

Binds the list of ParseResult objects and returns an IServer object.

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

Syntax

'Declaration
Function Bind ( _
    parseResults As IEnumerable(Of ParseResult), _
    contextDatabaseName As String, _
    bindMode As BindMode _
) As IServer
'Usage
Dim instance As IBinder
Dim parseResults As IEnumerable(Of ParseResult)
Dim contextDatabaseName As String
Dim bindMode As BindMode
Dim returnValue As IServer

returnValue = instance.Bind(parseResults, _
    contextDatabaseName, bindMode)
IServer Bind(
    IEnumerable<ParseResult> parseResults,
    string contextDatabaseName,
    BindMode bindMode
)
IServer^ Bind(
    IEnumerable<ParseResult^>^ parseResults, 
    String^ contextDatabaseName, 
    BindMode bindMode
)
abstract Bind : 
        parseResults:IEnumerable<ParseResult> * 
        contextDatabaseName:string * 
        bindMode:BindMode -> IServer 
function Bind(
    parseResults : IEnumerable<ParseResult>, 
    contextDatabaseName : String, 
    bindMode : BindMode
) : IServer

Parameters

  • contextDatabaseName
    Type: System.String
    The name of the default context database.