Share via


VSSFileStatus Enumeration 

Identifies the IVSSCheckout status of a SourceSafe file.

Namespace: Microsoft.VisualStudio.SourceSafe.Interop
Assembly: Microsoft.VisualStudio.SourceSafe.Interop (in microsoft.visualstudio.sourcesafe.interop.dll)

Syntax

'Declaration
<GuidAttribute("783CD4ED-9D54-11CF-B8EE-00608CC9A71F")> _
Public Enumeration VSSFileStatus
'Usage
Dim instance As VSSFileStatus
[GuidAttribute("783CD4ED-9D54-11CF-B8EE-00608CC9A71F")] 
public enum VSSFileStatus
[GuidAttribute(L"783CD4ED-9D54-11CF-B8EE-00608CC9A71F")] 
public enum class VSSFileStatus
/** @attribute GuidAttribute("783CD4ED-9D54-11CF-B8EE-00608CC9A71F") */ 
public enum VSSFileStatus
GuidAttribute("783CD4ED-9D54-11CF-B8EE-00608CC9A71F") 
public enum VSSFileStatus

Members

  Member name Description
VSSFILE_CHECKEDOUT Identifies the file status as checked out by the IVSSUser other than the current IVSSUser
VSSFILE_CHECKEDOUT_ME Identifies the file status as checked out by the current IVSSUser
VSSFILE_NOTCHECKEDOUT Identifies the file status as not checked out. 

Remarks

The VSSFileStatus enumeration elements:

Element

Description

Value

VSSFILE_NOTCHECKEDOUT

Not checked out.

0

VSSFILE_CHECKEDOUT

Checked out by IVSSUser other than current user.

1

VSSFILE_CHECKEDOUT_ME

Checked out by current IVSSUser.

2

Note

The VSSFileStatus enumeration elements are not cumulative. If a file is checked out by the current user and also is checked out by another user, the IsCheckedOut property returns VSSFILE_CHECKEDOUT_ME and not VSSFILE_CHECKEDOUT + VSSFILE_CHECKEDOUT_ME.

See Also

Reference

Microsoft.VisualStudio.SourceSafe.Interop Namespace
IVSSItem Interface
IVSSItem.IsCheckedOut Property