Partilhar via


SetParentTeamRequest Class

Definition

Deprecated. Contains the data needed to set the parent business unit of a team.

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

Remarks

This message request is deprecated. Use the UpdateRequest class instead. For more information see Behavior of specialized update operations.

Usage

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

Privileges and Access Rights

To perform this action, the caller must have privileges on the Team entity and access rights on the records specified in the BusinessId and TeamId properties.

Constructors

SetParentTeamRequest()

Initializes a new instance of the SetParentTeamRequest class.

Properties

BusinessId

Gets or sets the ID of the business unit to which to move the team. Required.

DoNotMoveAllRecords

Gets or sets whether to move owned records to new Business Unit.

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

Gets or sets the ID of the team. Required.

Applies to

See also