Share via


DeleteGroupResource Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Deletes the specified group resource.

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

Syntax

'Declaration
Public Sub DeleteGroupResource ( _
    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.DeleteGroupResource(szSiteName, _
    szResourceName, bKeepData, bSilent)
public void DeleteGroupResource(
    string szSiteName,
    string szResourceName,
    int bKeepData,
    int bSilent
)
public:
virtual void DeleteGroupResource(
    String^ szSiteName, 
    String^ szResourceName, 
    int bKeepData, 
    int bSilent
) sealed
public final function DeleteGroupResource(
    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