Свойство Name
Gets the name of the database.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<DisplayNameKeyAttribute("NamedSmoObject_NameName")> _
<DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")> _
ReadOnly Property Name As String
Get
'Применение
Dim instance As IDatabaseOptions
Dim value As String
value = instance.Name
[DisplayNameKeyAttribute("NamedSmoObject_NameName")]
[DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")]
string Name { get; }
[DisplayNameKeyAttribute(L"NamedSmoObject_NameName")]
[DisplayDescriptionKeyAttribute(L"NamedSmoObject_NameDesc")]
property String^ Name {
String^ get ();
}
[<DisplayNameKeyAttribute("NamedSmoObject_NameName")>]
[<DisplayDescriptionKeyAttribute("NamedSmoObject_NameDesc")>]
abstract Name : string
function get Name () : String
Значение свойства
Тип: System. . :: . .String
A String value containing the database name.
См. также