GetSearchableProperties Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Returns a CatalogPropertyCollection containing all the properties that are used in all catalogs in the catalog system.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Function GetSearchableProperties As CatalogPropertyCollection
'Usage
Dim instance As CatalogContext
Dim returnValue As CatalogPropertyCollection
returnValue = instance.GetSearchableProperties()
public CatalogPropertyCollection GetSearchableProperties()
public:
CatalogPropertyCollection^ GetSearchableProperties()
public function GetSearchableProperties() : CatalogPropertyCollection
Return Value
Type: Microsoft.CommerceServer.Catalog..::.CatalogPropertyCollection
A CatalogPropertyCollection containing all the properties that are used in all catalogs in the catalog system.
Remarks
You can use this method to get all the properties that are being used in all the catalogs in the catalog system. When doing a CatalogSearch across multiple catalogs, you should pass a list of properties that exist in all catalogs.
Calling the method GetSearchableProperties() is the same as calling GetSearchableProperties(null).
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.