|
|
• Using the Microsoft .NET client assembly, create a RepositoryServiceService object by invoking its default constructor. Set its Credentials property using a System.Net.NetworkCredential object containing the user name and password.Specify the URI of the resource to be retrieved and read the resource. In this example, the URI of the resource is "/testFolder/testResource". For more information, see Reading Resources.Update the Resource object’s information. In this example, to update the description, assign a new value to the Resource object’s description field.
5. Invoke the RepositoryServiceService object’s updateResource method, and pass in the following parameters:
• A System.String object containing the resource’s URI.
• The Resource object containing the updated resource information.
• A boolean value indicating whether to update the major or minor version. In this example, a value of true is passed in to indicate that the major version is to be incremented.
• A boolean value indicating whether the major or minor version has been specified. In this example, a value of false is passed in to indicate that the major version has not been specified.
• Pass null for the remaining two parameters.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/repositoryUpdatingFiles.124.4.html