Partilhar via


Método GetDBName

Gets the database name that is associated with the object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Protected Friend Overridable Function GetDBName As String
'Uso
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

Valor de retorno

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