DeleteSQLScript Method
Deletes 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 Sub DeleteSQLScript ( _
sResource As String, _
sScriptName As String _
)
'Usage
Dim instance As SiteConfigFreeThreaded
Dim sResource As String
Dim sScriptName As String
instance.DeleteSQLScript(sResource, sScriptName)
public void DeleteSQLScript(
string sResource,
string sScriptName
)
public:
void DeleteSQLScript(
String^ sResource,
String^ sScriptName
)
public function DeleteSQLScript(
sResource : String,
sScriptName : String
)
Parameters
- sResource
Type: System..::.String
The name of the resource that is associated with the SQL script file that is to be deleted.
- sScriptName
Type: System..::.String
The name of the SQL script file that is to be deleted.
Remarks
The Initialize method must be called before this method can be used.
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.