共用方式為


__SccStatus Enumeration

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'宣告
Public Enumeration __SccStatus
'用途
Dim instance As __SccStatus
public enum __SccStatus
public enum class __SccStatus
type __SccStatus
public enum __SccStatus

Members

Member name Description
SCC_STATUS_INVALID The file is in an unknown state; the status could not be obtained.
SCC_STATUS_NOTCONTROLLED The file is not under source control.
SCC_STATUS_CONTROLLED The file is under source control.
SCC_STATUS_CHECKEDOUT The file is checked out by the current user at the specified path on the local disk.
SCC_STATUS_OUTOTHER The file is checked out by another user.
SCC_STATUS_OUTEXCLUSIVE The file is exclusively checked out.
SCC_STATUS_OUTMULTIPLE The file is checked out by more than one user.
SCC_STATUS_OUTOFDATE The file is not the most current version.
SCC_STATUS_DELETED The file was deleted from the source control database.
SCC_STATUS_LOCKED The file is locked; no more versions are allowed.
SCC_STATUS_MERGED The file is merged but not yet fixed or verified.
SCC_STATUS_SHARED The file is shared between projects in the source control database.
SCC_STATUS_PINNED 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 The file was modified, broken, or violated.
SCC_STATUS_OUTBYUSER The file is checked out by the current user.
SCC_STATUS_NOMERGE The file can never be merged with. It does not have to be saved before a get operation.
SCC_STATUS_RESERVED_1 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 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 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 Enumerator, which is part of the Source Control Plug-in SDK.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace