Share via


DeleteSiteConfig Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Deletes the specified configuration for the site and all configurations for the associated resources.

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

Syntax

'Declaration
Public Sub DeleteSiteConfig ( _
    bstrSiteName As String _
)
'Usage
Dim instance As GlobalConfigFreeThreaded
Dim bstrSiteName As String

instance.DeleteSiteConfig(bstrSiteName)
public void DeleteSiteConfig(
    string bstrSiteName
)
public:
virtual void DeleteSiteConfig(
    String^ bstrSiteName
) sealed
public final function DeleteSiteConfig(
    bstrSiteName : String
)

Parameters

Implements

IGlobalConfig..::.DeleteSiteConfig(String)

Remarks

Implements IGlobalConfig.DeleteSiteConfig (DeleteSiteConfig).

Use this method to delete a site configuration object instance for the current site from the Administration database.

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

Permissions

See Also

Reference

GlobalConfigFreeThreaded Class

GlobalConfigFreeThreaded Members

Microsoft.CommerceServer.Interop.Configuration Namespace