Udostępnij przez


Właściwość ManagedInstance.InstanceName

Pobiera nazwę wystąpienie SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Utility
Zestaw:  Microsoft.SqlServer.Management.Utility (w Microsoft.SqlServer.Management.Utility.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property InstanceName As String
    Get
'Użycie
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

Wartość właściwości

Typ: System.String
A String wartość, która określa nazwę wystąpienie SQL Server.