AcMapResourceService::UpdateRepository Method

Autodesk GIS Map Platform

AcMapResourceService:: UpdateRepository Method

Updates the header and content of the specified repository.

virtual void UpdateRepository(
    MgResourceIdentifier* resource, 
    MgByteReader* content, 
    MgByteReader* header
);
Parameters 
Description 
resource 
The identifier of the Repository to update. 
content 
Repository content in XML format using the RepositoryContent schema. Or, if the repository is the library, this can be set to null in which case the content is not changed.  
header 
If the repository is the library, this is the repository header in XML format using the ResourceFolderHeader_schema schema. Or, this can be set to null in which case the header is not changed. If the repository is a session repository, this must be null.  
Remarks

This method is not supported in AutoCAD Map 3D and will always throw MgNotImplementedException.

MgXX classes belong to the OsGeo.MapGuide namespace and are descibed in the Geospatial Platform Reference.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].