Compartir a través de


DeleteOrganizationRequest Class

Definition

Contains the data that’s needed to delete a Microsoft Dynamics 365 organization.

public ref class DeleteOrganizationRequest : Microsoft::Xrm::Sdk::Deployment::DeleteRequest
[System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")]
[System.Diagnostics.DebuggerStepThrough]
[System.Runtime.Serialization.DataContract(Name="DeleteOrganizationRequest", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public class DeleteOrganizationRequest : Microsoft.Xrm.Sdk.Deployment.DeleteRequest
[<System.CodeDom.Compiler.GeneratedCode("System.Runtime.Serialization", "4.0.0.0")>]
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Runtime.Serialization.DataContract(Name="DeleteOrganizationRequest", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>]
type DeleteOrganizationRequest = class
    inherit DeleteRequest
Public Class DeleteOrganizationRequest
Inherits DeleteRequest
Inheritance
DeleteOrganizationRequest
Attributes

Remarks

Usage

Pass an instance of this class to the Execute(DeploymentServiceRequest) method, which returns an instance of the DeleteOrganizationResponse class.

Notes for Callers

You can also use the Remove-CrmOrganizationWindows PowerShell command. For more information, see Administer the deployment using Windows PowerShell.

Constructors

DeleteOrganizationRequest()

Initializes a new instance of the DeleteOrganizationRequest class.

Properties

DetachDatabase

Gets or sets a value that indicates whether to detach the Dynamics 365 database from the SQL Server instance.

EntityType

Gets or sets the type of deployment entity to be deleted.

(Inherited from DeleteRequest)
ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from DeploymentServiceRequest)
InstanceTag

Gets or sets the ID or the instance tag for the deployment record to be deleted.

(Inherited from DeleteRequest)

Applies to

See also