SiteConfig.DeleteSQLScript Method (PIA)
Use this method to delete the specified SQL script file from the Administration database.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Configuration
…
Public Sub DeleteSQLScript(sResource As String,
sScriptName As String)
[C#]
using Microsoft.CommerceServer.Interop.Configuration;
…
public void DeleteSQLScript(stringsResource,
stringsScriptName);
Parameters
[Visual Basic .NET]
- sResource
A String that contains the name of the resource that is associated with the SQL script file that is to be deleted. - sScriptName
A String that contains the name of the SQL script file to delete.
[C#]
- sResource
A string that contains the name of the resource that is associated with the SQL script file that is to be deleted. - sScriptName
A string that contains the name of the SQL script file to delete.
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
Remarks
The Initialize method must be called before this method can be used.
Requirements
Namespace: Microsoft.CommerceServer.Interop.Configuration
Platforms: Windows 2000, Windows Server 2003
Assembly: cs_mscscfg (in cs_mscscfg.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.