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
- bstrSiteName
Type: System..::.String
The name of the site to delete.
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
- 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.