Scanner.SetSource Method
Sets the source text to be scanned.
Namespace: Microsoft.SqlServer.Management.SqlParser.Parser
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Sub SetSource ( _
source As String, _
offset As Integer _
)
'Usage
Dim instance As Scanner
Dim source As String
Dim offset As Integer
instance.SetSource(source, offset)
public void SetSource(
string source,
int offset
)
public:
void SetSource(
String^ source,
int offset
)
member SetSource :
source:string *
offset:int -> unit
public function SetSource(
source : String,
offset : int
)
Parameters
- source
Type: System.String
The text to be scanned.
- offset
Type: System.Int32
The offset in the source text at which to begin scanning.