ProjectHttpClientBase.SetProjectPropertiesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Preview API] Create, update, and delete team project properties.
public virtual System.Threading.Tasks.Task SetProjectPropertiesAsync (Guid projectId, Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument patchDocument, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member SetProjectPropertiesAsync : Guid * Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetProjectPropertiesAsync : Guid * Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- projectId
- Guid
The team project ID.
- patchDocument
- Microsoft.VisualStudio.Services.WebApi.Patch.Json.JsonPatchDocument
A JSON Patch document that represents an array of property operations. See RFC 6902 for more details on JSON Patch. The accepted operation verbs are Add and Remove, where Add is used for both creating and updating properties. The path consists of a forward slash and a property name.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for