Condividi tramite


DeleteAndPromoteRequest Class

Definition

Contains the data needed to replace a managed solution plus all of its patches.

public ref class DeleteAndPromoteRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class DeleteAndPromoteRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type DeleteAndPromoteRequest = class
    inherit OrganizationRequest
Public NotInheritable Class DeleteAndPromoteRequest
Inherits OrganizationRequest
Inheritance
DeleteAndPromoteRequest
Attributes

Remarks

This operation can be used on a base solution when there is a new version of the solution imported as a holding solution. This operation deletes the base solution along with all of its patches and renames the holding solution to the same name as the base solution.

This operation is the synchronous version of the DeleteAndPromoteAsyncRequest class Because this is potentially a long-running operation, you should use the asynchronous version of this message or you can use this synchronous version with the ExecuteAsyncRequest class.

Learn to use ExecuteAsync to execute messages asynchronously

Learn about working with solutions using the Dataverse SDK for .NET.

Constructors

DeleteAndPromoteRequest()

Initializes a new instance of the DeleteAndPromoteRequest class.

Properties

ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
RequestId

Gets or sets the ID of the request. Optional.

(Inherited from OrganizationRequest)
RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
UniqueName

Gets or sets the unique name of the solution being replaced.

Applies to

See also