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