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
Sub DeleteSiteConfig ( _
    bstrSiteName As String _
)
'Usage
Dim instance As IGlobalConfig2
Dim bstrSiteName As String

instance.DeleteSiteConfig(bstrSiteName)
void DeleteSiteConfig(
    string bstrSiteName
)
void DeleteSiteConfig(
    String^ bstrSiteName
)
function DeleteSiteConfig(
    bstrSiteName : String
)

Parameters

Remarks

Implemented by GlobalConfig2FreeThreaded.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

IGlobalConfig2 Interface

IGlobalConfig2 Members

Microsoft.CommerceServer.Interop.Configuration Namespace