Partager via


PutSQLScript Method

Puts the specified SQL script file into the Administration database.

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

Syntax

'Declaration
Public Sub PutSQLScript ( _
    sResource As String, _
    sScriptName As String, _
    sScriptContents As String _
)
'Usage
Dim instance As SiteConfigFreeThreaded
Dim sResource As String
Dim sScriptName As String
Dim sScriptContents As String

instance.PutSQLScript(sResource, sScriptName, _
    sScriptContents)
public void PutSQLScript(
    string sResource,
    string sScriptName,
    string sScriptContents
)
public:
void PutSQLScript(
    String^ sResource, 
    String^ sScriptName, 
    String^ sScriptContents
)
public function PutSQLScript(
    sResource : String, 
    sScriptName : String, 
    sScriptContents : String
)

Parameters

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

Remarks

The specified SQL script file into inserted into the Administration database.

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