Share via


IVSSDatabase MembersĀ 

Represents a Visual SourceSafe database.

The following tables list the members exposed by the IVSSDatabase type.

Public Properties

  Name Description
Public property CurrentProject Gets or sets a string representing the name of the current project of the IVSSUser.  
Public property DatabaseName Gets a string representing the default database name. 
Public property DefaultProjectRights Gets or sets the default project rights for a new IVSSUser added to the SourceSafe database.  
Public property ImpersonateCaller Gets or sets a value that instructs the SourceSafe automation object to impersonate the identity of the caller while performing operations. 
Public property ProjectRightsEnabled Gets or sets a value indicating whether the project rights are enabled.  
Public property SrcSafeIni Gets a string representing a fully qualified path to the SRCSAFE.INI file of the current SourceSafe database. 
Public property User Gets a reference of the IVSSUser type to an object representing a single user. 
Public property Username Gets a string representing a name of the user currently logged on to a SourceSafe database. 
Public property Users Gets a reference of the IVSSUsers type to an object representing a collection of all users the SourceSafe database. 
Public property VSSItem Gets a reference of the IVSSItem type to an object representing a SourceSafe file or a SourceSafe project. 

Top

Public Methods

  Name Description
Public method AddUser Adds a new user to the current database IVSSUsers collection.  
Public method Close Closes the Visual SourceSafe database.  
Public method GetSetting Provides access to user and database Initialization Variable values.  
Public method Open Logs a user into the Visual SourceSafe database.  

Top

See Also

Reference

IVSSDatabase Interface
Microsoft.VisualStudio.SourceSafe.Interop Namespace

Concepts

Introduction to Visual SourceSafe Automation

Other Resources

Visual SourceSafe Automation
Visual SourceSafe Automation Reference