共用方式為


PendChangesOptions Enumeration

Options for the PendChanges Web Service.

Will be actually sent across the wire as an integer value, instead of as a serialized Enum.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration PendChangesOptions
[FlagsAttribute]
public enum PendChangesOptions
[FlagsAttribute]
public enum class PendChangesOptions
[<FlagsAttribute>]
type PendChangesOptions
public enum PendChangesOptions

Members

Member name Description
ForceCheckOutLocalVersion This instructs the server to force "CheckOut Local Version" behavior. This flag will supercede the GetLatestOnCheckout flag above if both are specified. This flag will supersede the GetLatestOnCheckout team project annotation.

GetLatestOnCheckout The client requests to synchronize to the latest version of an item on Checkout (PendingEdit). In this case the server will download the latest version of the file to the client.

None The client did not specify any options

Silent This instructs the server not to return GetOps for the operation. In the case when GetLatestOnCheckout and Silent are enabled, you may still receive a GetOp if you have to GetLatest.

SuppressItemNotFoundFailures This flag instructs the client not to report any Failures returned by the server of type ItemNotFoundException as NonFatalErrors.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Common Namespace