CreateGroupResource Method

Creates the specified resource as a group resource.

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

Syntax

'Declaration
Public Function CreateGroupResource ( _
    szSiteName As String, _
    szResourceName As String, _
    szConnStr As String, _
    szPath As String, _
    bSilent As Integer _
) As String
'Usage
Dim instance As CatalogPup
Dim szSiteName As String
Dim szResourceName As String
Dim szConnStr As String
Dim szPath As String
Dim bSilent As Integer
Dim returnValue As String

returnValue = instance.CreateGroupResource(szSiteName, _
    szResourceName, szConnStr, szPath, _
    bSilent)
public string CreateGroupResource(
    string szSiteName,
    string szResourceName,
    string szConnStr,
    string szPath,
    int bSilent
)
public:
virtual String^ CreateGroupResource(
    String^ szSiteName, 
    String^ szResourceName, 
    String^ szConnStr, 
    String^ szPath, 
    int bSilent
) sealed
public final function CreateGroupResource(
    szSiteName : String, 
    szResourceName : String, 
    szConnStr : String, 
    szPath : String, 
    bSilent : int
) : String

Parameters

  • 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.

Return Value

Type: System..::.String
A NotSupportedException in all cases.

Exceptions

Exception Condition
NotSupportedException

Exception thrown in all cases.

Remarks

Throws a NotSupportedException in all cases. Not supported by CatalogPup.

Permissions

See Also

Reference

CatalogPup Class

CatalogPup Members

Microsoft.CommerceServer.Catalog Namespace