Pastaba.
Prieigai prie šio puslapio reikalingas įgaliojimas. Galite bandyti prisijungti arba pakeisti katalogus.
Prieigai prie šio puslapio reikalingas įgaliojimas. Galite bandyti pakeisti katalogus.
Gets the name of the instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property InstanceName As String
Get
'Usage
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
Property Value
Type: System.String
A String value that specifies the name of the instance of SQL Server.