ServerInstance 属性

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

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property ServerInstance As String
    Get
    Friend Set
用法
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)

属性值

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

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

示例

设置属性