Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Gets the name of the database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")> _
<DisplayNameKeyAttribute("NamedSmoObject_NameName")> _
ReadOnly Property Name As String
Get
'Usage
Dim instance As IDatabaseOptions
Dim value As String
value = instance.Name
[DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")]
[DisplayNameKeyAttribute("NamedSmoObject_NameName")]
string Name { get; }
[DisplayDescriptionKeyAttribute(L"NamedSmoObject_NameDesc")]
[DisplayNameKeyAttribute(L"NamedSmoObject_NameName")]
property String^ Name {
String^ get ();
}
[<DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")>]
[<DisplayNameKeyAttribute("NamedSmoObject_NameName")>]
abstract Name : string
function get Name () : String
Property Value
Type: System.String
A String value containing the database name.