SetBusinessEquipmentRequest Class

Definition

Contains the data that is needed to assign equipment (facility/equipment) to a specific business unit.

For the Web API use the SetBusinessEquipment Action.

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

Remarks

This message request is deprecated. Consider using the UpdateRequest instead. For more information see Perform specialized operations using Update.

Message Availability

For this message to work, the caller must be connected to the server.

Usage

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

Privileges and Access Rights

To perform this action, the caller must have privileges on the Equipment entity and access rights on the records specified in the BusinessUnitId and EquipmentId properties. For a list of the privileges required, see SetBusinessEquipment message privileges.

Constructors

SetBusinessEquipmentRequest()

Initializes a new instance of the SetBusinessEquipmentRequest class.

Properties

BusinessUnitId

Gets or sets the ID of the business unit.

EquipmentId

Gets or sets the ID of the equipment (facility/equipment).

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 an asynchronous operation (system job). 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

See also