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
- szSiteName
Type: System..::.String
The name of the site being unpacked.
- szResourceName
Type: System..::.String
The name of the custom resource.
- szConnStr
Type: System..::.String
The connection string.
- szPath
Type: System..::.String
The path and name of a file for error logging.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.