DeleteSiteConfig Method
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 IGlobalConfig
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 GlobalConfigFreeThreaded.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.