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 _
) As Integer
'Usage
Dim instance As ProductCatalog
Dim searchClause As String
Dim propertyName As String
Dim replacementValue As Object
Dim returnValue As Integer
returnValue = instance.UpdateItems(searchClause, _
propertyName, replacementValue)
public int UpdateItems(
string searchClause,
string propertyName,
Object replacementValue
)
public:
int UpdateItems(
String^ searchClause,
String^ propertyName,
Object^ replacementValue
)
public function UpdateItems(
searchClause : String,
propertyName : String,
replacementValue : Object
) : 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.
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.