NewCatalogDefinition Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Creates a new CatalogDefinition with the same schema as CatalogDefinitionsDataSet..::.CatalogDefinitionsDataTable.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Function NewCatalogDefinition As CatalogDefinitionsDataSet..::.CatalogDefinition
'Usage
Dim instance As CatalogDefinitionsDataSet..::.CatalogDefinitionsDataTable
Dim returnValue As CatalogDefinitionsDataSet..::.CatalogDefinition
returnValue = instance.NewCatalogDefinition()
public CatalogDefinitionsDataSet..::.CatalogDefinition NewCatalogDefinition()
public:
CatalogDefinitionsDataSet..::.CatalogDefinition^ NewCatalogDefinition()
public function NewCatalogDefinition() : CatalogDefinitionsDataSet..::.CatalogDefinition
Return Value
Type: Microsoft.CommerceServer.Catalog..::.CatalogDefinitionsDataSet..::.CatalogDefinition
A CatalogDefinitionsDataSet..::.CatalogDefinition.
Remarks
The returned CatalogDefinitionsDataSet..::.CatalogDefinition contains DefinitionId, DefinitionName, DefinitionType, and Description.
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
CatalogDefinitionsDataSet..::.CatalogDefinitionsDataTable Class
CatalogDefinitionsDataSet..::.CatalogDefinitionsDataTable Members