DeleteComponentConfig Method
Deletes the Administration database information for the specified resource.
Namespace: Microsoft.CommerceServer.Interop.Configuration
Assembly: Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)
Syntax
'Declaration
Public Sub DeleteComponentConfig ( _
bstrResourceName As String _
)
'Usage
Dim instance As SiteConfigFreeThreaded
Dim bstrResourceName As String
instance.DeleteComponentConfig(bstrResourceName)
public void DeleteComponentConfig(
string bstrResourceName
)
public:
void DeleteComponentConfig(
String^ bstrResourceName
)
public function DeleteComponentConfig(
bstrResourceName : String
)
Parameters
- bstrResourceName
Type: System..::.String
The name of the resource configuration object to be deleted.
Remarks
This method does not remove any resource-specific data other than the configuration information. For instance, deleting the Product Catalog resource does not remove the Product Catalog tables from the database, only the configuration information.
The Initialize method must be called before this method can be used.
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.