Condividi tramite


Metodo SqlSmoObject.GetDBName

Gets the database name that is associated with the object.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Protected Friend Overridable Function GetDBName As String
'Utilizzo
Dim returnValue As String 

returnValue = Me.GetDBName()
protected internal virtual string GetDBName()
protected public:
virtual String^ GetDBName()
abstract GetDBName : unit -> string  
override GetDBName : unit -> string
function GetDBName() : String

Valore restituito

Tipo: System.String
A String value that specifies the name of the object.

Esempi

Chiamata di metodi

Vedere anche

Riferimento

SqlSmoObject Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo