Proprietà IVSSDatabase.DatabaseName
Ottiene una stringa che rappresenta il nome predefinito del database.
Spazio dei nomi: Microsoft.VisualStudio.SourceSafe.Interop
Assembly: Microsoft.VisualStudio.SourceSafe.Interop (in microsoft.visualstudio.sourcesafe.interop.dll)
Sintassi
'Dichiarazione
ReadOnly Property DatabaseName As String
'Utilizzo
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
Valore proprietà
Una stringa che rappresenta il nome predefinito del database o una stringa vuota, se il nome predefinito non è impostato.
Note
[IDL]
HRESULT DatabaseName ([out,retval]BSTR *pDatabaseName);
Utilizzando Gestione risorse Visual SourceSafe, l'amministratore di Visual SourceSafe può assegnare un nome predefinito a un database. Questa operazione non può essere eseguita da nessun altro utente. La proprietà DatabaseName restituisce questo nome di database predefinito. Se l'amministratore non ha assegnato un nome predefinito a un database, la proprietà restituisce una stringa vuota.
Vedere anche
Riferimenti
Interfaccia IVSSDatabase
Membri IVSSDatabase
Spazio dei nomi Microsoft.VisualStudio.SourceSafe.Interop