Share via


GetSQLScript Method

Retrieves the specified SQL script file from the Administration database.

Namespace:  Microsoft.CommerceServer.Interop.Configuration
Assembly:  Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)

Syntax

'Declaration
Public Function GetSQLScript ( _
    sResource As String, _
    sScriptName As String _
) As String
'Usage
Dim instance As SiteConfigFreeThreaded
Dim sResource As String
Dim sScriptName As String
Dim returnValue As String

returnValue = instance.GetSQLScript(sResource, _
    sScriptName)
public string GetSQLScript(
    string sResource,
    string sScriptName
)
public:
String^ GetSQLScript(
    String^ sResource, 
    String^ sScriptName
)
public function GetSQLScript(
    sResource : String, 
    sScriptName : String
) : String

Parameters

  • sResource
    Type: System..::.String
    The resource associated with the required SQL script file.

Return Value

Type: System..::.String
The SQL script file contents.

Remarks

The Initialize method must be called before this method can be called.

Permissions

See Also

Reference

SiteConfigFreeThreaded Class

SiteConfigFreeThreaded Members

Microsoft.CommerceServer.Interop.Configuration Namespace