다음을 통해 공유


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

instance.DeleteServiceConfig(bstrResourceName)
public void DeleteServiceConfig(
    string bstrResourceName
)
public:
virtual void DeleteServiceConfig(
    String^ bstrResourceName
) sealed
public final function DeleteServiceConfig(
    bstrResourceName : String
)

Parameters

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

Implements

IGlobalConfig2..::.DeleteServiceConfig(String)

Remarks

Implements IGlobalConfig2.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

GlobalConfig2FreeThreaded Class

GlobalConfig2FreeThreaded Members

Microsoft.CommerceServer.Interop.Configuration Namespace