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
- parseResults
Type: System.Collections.Generic.IEnumerable<ParseResult>
A list of ParseResult objects to bind.
- contextDatabaseName
Type: System.String
The name of the default context database.
- bindMode
Type: Microsoft.SqlServer.Management.SqlParser.Binder.BindMode
A BindMode value that indicates whether to perform batch mode binding or build mode binding.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IServer
An IServer object.