Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Retrieves a specified script from a file by using the given cache identifier, file offset, and length.
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
A string that contains a cache identifier.
- startOffset
Type: System.Int32
An int that indicates the starting point for the desired script in the file.
- length
Type: System.Int32
An int that indicates the length of the desired script.
Return Value
Type: System.String
The desired script text.
.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.