Partilhar via


Directory status code enumerator

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The SccDirStatus enumerator contains named constant values that specify the state of a directory in the source control system. This enumeration is used by the SccDirQueryInfo. This was introduced in version 1.2 of the Source Control Plug-in API.

Syntax

enum SccDirStatus {
   SCC_DIRSTATUS_INVALID       = -1L,
   SCC_DIRSTATUS_NOTCONTROLLED = 0x0000L,
   SCC_DIRSTATUS_CONTROLLED    = 0x0001L,
   SCC_DIRSTATUS_EMPTYPROJ     = 0x0002L
};

Members

SCC_DIRSTATUS_INVALID Status could not be obtained; do not rely on it.

SCC_DIRSTATUS_NOTCONTROLLED Directory is not under source control.

SCC_DIRSTATUS_CONTROLLED Directory is under source control.

SCC_DIRSTATUS_EMPTYPROJ Project corresponding to this directory is empty.

See also