ChangeRequest Class

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)

[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
public class ChangeRequest : ICloneable, 

The ChangeRequest type exposes the following members.

Public methodChangeRequest

Public propertyDeletionIdIf 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.
Public propertyEncodingThe enocding attribute is a versioned property of a file. This defines the Windows encoding used to represent the data.
Public propertyItemSpecServer or local path for the item to add.
Public propertyItemTypeThe 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.
Public propertyLockLevelSpecifies 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.
Public propertyPropertiesThe properties to pend changes for.
Public propertyRequestTypeList of change types being made to the item (see RequestType.)
Public propertyTargetItemIf RequestType is Rename, Branch or Undelete, this specifies the new item being changed. Null otherwise.
Public propertyTargetItemTypeIf TargetItem is specified, this value can override the server's detection of whether the target is a folder or item (move vs rename).
Public propertyVersionSpecVersion 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.

Public methodClone
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRecordInformationIRecordable.RecordInformation Record class information for logging.
Public methodReset
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.