Свойство InstanceName
Gets the name of the instance of SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Utility
Сборка: Microsoft.SqlServer.Management.Utility (в Microsoft.SqlServer.Management.Utility.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property InstanceName As String
Get
'Применение
Dim instance As ManagedInstance
Dim value As String
value = instance.InstanceName
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public string InstanceName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property String^ InstanceName {
String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member InstanceName : string
function get InstanceName () : String
Значение свойства
Тип: System. . :: . .String
A String value that specifies the name of the instance of SQL Server.