Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Update items from this catalog matching a search clause.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Function UpdateItems ( _
searchClause As String, _
propertyName As String, _
replacementValue As Object, _
classTypes As CatalogClassTypes _
) As Integer
'Usage
Dim instance As ProductCatalog
Dim searchClause As String
Dim propertyName As String
Dim replacementValue As Object
Dim classTypes As CatalogClassTypes
Dim returnValue As Integer
returnValue = instance.UpdateItems(searchClause, _
propertyName, replacementValue, _
classTypes)
public int UpdateItems(
string searchClause,
string propertyName,
Object replacementValue,
CatalogClassTypes classTypes
)
public:
int UpdateItems(
String^ searchClause,
String^ propertyName,
Object^ replacementValue,
CatalogClassTypes classTypes
)
public function UpdateItems(
searchClause : String,
propertyName : String,
replacementValue : Object,
classTypes : CatalogClassTypes
) : int
Parameters
- searchClause
Type: System..::.String
A search clause specifying the items to update.
- propertyName
Type: System..::.String
Name of property to update.
- replacementValue
Type: System..::.Object
New value for property.
- classTypes
Type: Microsoft.CommerceServer.Catalog..::.CatalogClassTypes
Only update items with types specified in CatalogClassTypes.
Return Value
Type: System..::.Int32
Number of items updated.
Remarks
Updates will only update items with the property specified in their definition.
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.