UpdateCatalog Method
Performs catalog node updates / creates.
Namespace: Microsoft.CommerceServer.Interop.Profiles
Assembly: Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.dll)
Syntax
'Declaration
Public Function UpdateCatalog ( _
ByRef xmlDocument As String _
) As Object
'Usage
Dim instance As BusinessDataAdminFreeThreaded
Dim xmlDocument As String
Dim returnValue As Object
returnValue = instance.UpdateCatalog(xmlDocument)
public Object UpdateCatalog(
ref string xmlDocument
)
public:
Object^ UpdateCatalog(
String^% xmlDocument
)
public function UpdateCatalog(
xmlDocument : String
) : Object
Parameters
- xmlDocument
Type: System..::.String%
Contains the XML document to load.
Return Value
Type: System..::.Object
Exceptions
Exception | Condition |
---|---|
ERR_NOCONNECTION | The profile data store connection is not open. |
ERR_XML_PARSE | There is a load or parse error in the XML. |
ERR_MEMBER_INVALID_NEWDELETE | IsDeleted and IsNew are selected. |
ERR_MEMBER_INVALID_MODIFIEDDELETE | IsDeleted and IsModified are selected. |
ERR_MEMBER_INVALID_NEWMODIFIED | IsModified and IsNew are selected. |
ERR_CATALOG_EXISTS | You are attempting to create a new catalog and there is already one there by the specified name. |
Remarks
Any element can have only one checked: DELETE, MODIFY, or CREATE.
Updating a document consists of getting the existing document, updating and storing the document, deleting the existing document, and storing the new document.
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
BusinessDataAdminFreeThreaded Class