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.
- sScriptName
Type: System..::.String
The name of the SQL script file.
- sScriptContents
Type: System..::.String
The SQL script file contents.
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
- 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.