InMemoryScriptCache.GetScript Method (String, Int32, Int32)
Returns the script for the given cache identifier.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Overrides Function GetScript ( _
cacheIdentifier As String, _
startOffset As Integer, _
length As Integer _
) As String
public override string GetScript(
string cacheIdentifier,
int startOffset,
int length
)
public:
virtual String^ GetScript(
String^ cacheIdentifier,
int startOffset,
int length
) override
abstract GetScript :
cacheIdentifier:string *
startOffset:int *
length:int -> string
override GetScript :
cacheIdentifier:string *
startOffset:int *
length:int -> string
public override function GetScript(
cacheIdentifier : String,
startOffset : int,
length : int
) : String
Parameters
- cacheIdentifier
Type: System.String
The cache identifier.
- startOffset
Type: System.Int32
The starting offset in the file, in characters.
- length
Type: System.Int32
The length.
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.