Freigeben über


ServerInstance-Eigenschaft

Gets the instance of SQL Server to which this connection evaluation history record refers.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property ServerInstance As String
    Get
    Friend Set
'Usage
Dim instance As ConnectionEvaluationHistory
Dim value As String

value = instance.ServerInstance
[SfcPropertyAttribute(SfcPropertyFlags.None)]
public string ServerInstance { get; internal set; }
[SfcPropertyAttribute(SfcPropertyFlags::None)]
public:
property String^ ServerInstance {
    String^ get ();
    internal: void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None)>]
member ServerInstance : string with get, internal set
function get ServerInstance () : String
internal function set ServerInstance (value : String)

Eigenschaftenwert

Typ: System. . :: . .String
A String value that contains the name of the instance of SQL Server to which the connection evaluation history record refers.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.