다음을 통해 공유


RetrieveDependenciesForDeleteRequest Class

Definition

Contains the data that is needed to retrieve a collection of dependency records that describe any solution components that would prevent a solution component from being deleted.

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

Examples

The following example shows how to use this message. For this sample to work correctly, you must be connected to the server to get an IOrganizationService interface instance. For the complete sample, see the link later in this topic.

Remarks

For the Web API use the RetrieveDependenciesForDelete function.

Usage

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

Privileges and Access Rights

To perform this action, the caller must have the privileges that are listed in RetrieveDependenciesForDelete message privileges.

Constructors

RetrieveDependenciesForDeleteRequest()

Initializes a new instance of the RetrieveDependenciesForDeleteRequest class.

Properties

ComponentType

Gets or sets the value for the component type that you want to delete. Required.

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)
ObjectId

Gets or sets the ID of the solution component that you want to delete. Required.

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)

Applies to