NewCatalog Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Creates a new Catalog with the same schema as CatalogsDataSet..::.CatalogsDataTable.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Function NewCatalog As CatalogsDataSet..::.Catalog
'Usage
Dim instance As CatalogsDataSet..::.CatalogsDataTable
Dim returnValue As CatalogsDataSet..::.Catalog
returnValue = instance.NewCatalog()
public CatalogsDataSet..::.Catalog NewCatalog()
public:
CatalogsDataSet..::.Catalog^ NewCatalog()
public function NewCatalog() : CatalogsDataSet..::.Catalog
Return Value
Type: Microsoft.CommerceServer.Catalog..::.CatalogsDataSet..::.Catalog
A CatalogsDataSet..::.Catalog.
Remarks
The returned CatalogsDataSet..::.Catalog contains CatalogFlags CatalogId. CatalogStatus, Currency, CustomCatalog, DefaultLanguage, DisplayName, EndDate, FreeTextIndexCreated, FullTextCatalogName, IsVirtualCatalog, IsVirtualCatalogView, Locale, ProductId, ProductTableUpdated, ReportingLanguage, StartDate, TimeStamp, VariantId, and WeightMeasuure property values.
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.
See Also
Reference
CatalogsDataSet..::.CatalogsDataTable Class