Partager via


__SccStatus Enum

Definition

Specifies the state of a file in the source control system.

public enum class __SccStatus
public enum class __SccStatus
enum __SccStatus
public enum __SccStatus
type __SccStatus = 
Public Enum __SccStatus
Inheritance
__SccStatus

Fields

Name Value Description
SCC_STATUS_INVALID -1

The file is in an unknown state; the status could not be obtained.

SCC_STATUS_NOTCONTROLLED 0

The file is not under source control.

SCC_STATUS_CONTROLLED 1

The file is under source control.

SCC_STATUS_CHECKEDOUT 2

The file is checked out by the current user at the specified path on the local disk.

SCC_STATUS_OUTOTHER 4

The file is checked out by another user.

SCC_STATUS_OUTEXCLUSIVE 8

The file is exclusively checked out.

SCC_STATUS_OUTMULTIPLE 16

The file is checked out by more than one user.

SCC_STATUS_OUTOFDATE 32

The file is not the most current version.

SCC_STATUS_DELETED 64

The file was deleted from the source control database.

SCC_STATUS_LOCKED 128

The file is locked; no more versions are allowed.

SCC_STATUS_MERGED 256

The file is merged but not yet fixed or verified.

SCC_STATUS_SHARED 512

The file is shared between projects in the source control database.

SCC_STATUS_PINNED 1024

The file is shared and is pinned to a specific version. No more changes can be made to the file in the source control database until the file is unpinned.

SCC_STATUS_MODIFIED 2048

The file was modified, broken, or violated.

SCC_STATUS_OUTBYUSER 4096

The file is checked out by the current user.

SCC_STATUS_NOMERGE 8192

The file can never be merged with. It does not have to be saved before a get operation.

SCC_STATUS_RESERVED_1 16384

This member is not intended to be used directly from your code because this member is specific to the source control provider. Team Foundation Client and the Microsoft Source Code Control Interface use this value to indicate that the file is excluded from source control.

SCC_STATUS_RESERVED_2 32768

This member is not intended to be used directly from your code because this member is specific to the source control provider. Team Foundation Client uses this value to indicate that the file has a pending edit.

SCC_STATUS_RESERVED_3 65536

This member is not intended to be used directly from your code because this member is specific to the source control provider. Team Foundation Client uses this value to indicate that the file is located in the current workspace.

Remarks

This enumeration functions like File Status Code, which is part of the Source Control Plug-in SDK.

Applies to