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 | |
---|---|---|
DeleteOrganizationRequest() | Initializes a new instance of the DeleteOrganizationRequest class. |
Properties
Name | Description | |
---|---|---|
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.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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