Share via


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

  • startOffset
    Type: System.Int32
    The starting offset in the file, in characters.

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

InMemoryScriptCache Class

GetScript Overload

Microsoft.Data.Schema.SchemaModel Namespace