Share via


IVSSDatabase.DatabaseName Property 

Gets a string representing the default database name.

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

Syntax

'Declaration
ReadOnly Property DatabaseName As String
'Usage
Dim instance As IVSSDatabase
Dim value As String

value = instance.DatabaseName
string DatabaseName { get; }
property String^ DatabaseName {
    String^ get ();
}
/** @property */
String get_DatabaseName ()
function get DatabaseName () : String

Property Value

A string representing the default database name, or an empty string if default name is not set.

Remarks

[IDL]

HRESULT DatabaseName ([out,retval]BSTR *pDatabaseName);

Using the SourceSafe Explorer, the SourceSafe Administrator can assign a default name to a database (no other user has the same permissions). The DatabaseName property returns this default database name. If the Administrator has not assigned a default name to a database, this property returns an empty string.

See Also

Reference

IVSSDatabase Interface
IVSSDatabase Members
Microsoft.VisualStudio.SourceSafe.Interop Namespace