Delete Method

Deletes the specified resource.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CatalogServer (in Microsoft.CatalogServer.dll)

Syntax

'Declaration
Public Sub Delete ( _
    szSiteName As String, _
    szResourceName As String, _
    bKeepData As Integer, _
    bSilent As Integer _
)
'Usage
Dim instance As CatalogPup
Dim szSiteName As String
Dim szResourceName As String
Dim bKeepData As Integer
Dim bSilent As Integer

instance.Delete(szSiteName, szResourceName, _
    bKeepData, bSilent)
public void Delete(
    string szSiteName,
    string szResourceName,
    int bKeepData,
    int bSilent
)
public:
virtual void Delete(
    String^ szSiteName, 
    String^ szResourceName, 
    int bKeepData, 
    int bSilent
) sealed
public final function Delete(
    szSiteName : String, 
    szResourceName : String, 
    bKeepData : int, 
    bSilent : int
)

Parameters

  • bKeepData
    Type: System..::.Int32
    Used to indicate whether site resource data should be deleted. A value of 0 indicates that the data should be retained; otherwise anything except 0.
  • bSilent
    Type: System..::.Int32
    Used to indicate whether any user interaction is allowed. 0 suppresses user interaction, allowing for unattended operation; otherwise, anything except 0.

Remarks

If this method is designed to allow user interaction, the user interface used to accomplish this interaction must be capable of being suppressed. The bSilent parameter is used to indicate whether such suppression should occur. If the bSilent parameter is set to 0 the user interface must be suppressed. If the bSilent parameter is set to 1, it is permissible to display the user interface and seek user interaction. This aspect of the method invocation allows for unattended operation.

Permissions

See Also

Reference

CatalogPup Class

CatalogPup Members

Microsoft.CommerceServer.Catalog Namespace