This documentation is archived and is not being maintained.
ChangeRequest Class
Visual Studio 2013
Object representing a request from the client to pend changes to an item or item wildcard characters.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
The ChangeRequest type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DeletionId | If RequestType is Undelete and there is more than one deleted item with the same repository path, this ID is used to disambiguate them. Otherwise, it should be 0. |
![]() | Encoding | The enocding attribute is a versioned property of a file. This defines the Windows encoding used to represent the data. |
![]() | ItemSpec | Server or local path for the item to add. |
![]() | ItemType | The ItemType is a non-versioned property that may only be set when you are adding an item to the repository. Once an item is a file or folder the Type may not be changed. The client should supply the ItemType on calls to help disambiguate. |
![]() | LockLevel | Specifies the new lock level of the item. If the value "Unchanged" is passed in, the lock level is not changed from the previous pending change. |
![]() | Properties | The properties to pend changes for. |
![]() | RequestType | List of change types being made to the item (see RequestType.) |
![]() | TargetItem | If RequestType is Rename, Branch or Undelete, this specifies the new item being changed. Null otherwise. |
![]() | TargetItemType | If TargetItem is specified, this value can override the server's detection of whether the target is a folder or item (move vs rename). |
![]() | VersionSpec | Version specifier. Optional argument used with RequestType.Branch or .Merge. If specified, the branch/merge is to be started from the given VersionSpec, Otherwise, allow the merge logic to figure it out. |
| Name | Description | |
|---|---|---|
![]() | Clone | |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RecordInformation | IRecordable.RecordInformation Record class information for logging. |
![]() | Reset | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show:
