مشاركة عبر


DeleteOrganizationRequest Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Namespace:   Microsoft.Xrm.Sdk.Deployment
Assembly:  Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Deployment.DeploymentServiceRequest
    Microsoft.Xrm.Sdk.Deployment.DeleteRequest
      Microsoft.Xrm.Sdk.Deployment.DeleteOrganizationRequest

Syntax

[DataContractAttribute(Name = "DeleteOrganizationRequest", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public class DeleteOrganizationRequest : DeleteRequest
<DataContractAttribute(Name := "DeleteOrganizationRequest", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>
Public Class DeleteOrganizationRequest
    Inherits DeleteRequest

Constructors

Name Description
System_CAPS_pubmethod DeleteOrganizationRequest()

Initializes a new instance of the DeleteOrganizationRequest class.

Properties

Name Description
System_CAPS_pubproperty DetachDatabase

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

System_CAPS_pubproperty EntityType

Gets or sets the type of deployment entity to be deleted.(Inherited from DeleteRequest.)

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from DeploymentServiceRequest.)

System_CAPS_pubproperty InstanceTag

Gets or sets the ID or the instance tag for the deployment record to be deleted.(Inherited from DeleteRequest.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

Usage

Pass an instance of this class to the Execute 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.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

DeleteOrganizationResponse
Microsoft.Xrm.Sdk.Deployment Namespace
Remove-CrmOrganization

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright