다음을 통해 공유


DeleteServiceConfig Method

Deletes configuration 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
Sub DeleteServiceConfig ( _
    bstrResourceName As String _
)
'Usage
Dim instance As IGlobalConfig2
Dim bstrResourceName As String

instance.DeleteServiceConfig(bstrResourceName)
void DeleteServiceConfig(
    string bstrResourceName
)
void DeleteServiceConfig(
    String^ bstrResourceName
)
function DeleteServiceConfig(
    bstrResourceName : String
)

Parameters

  • bstrResourceName
    Type: System..::.String
    The name of the resource configuration object to delete.

Remarks

Implemented by GlobalConfig2FreeThreaded.DeleteServiceConfig (DeleteServiceConfig).

Deletes the specified resource, and deletes the Administration database association that links this resource to the site instance.

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