共用方式為


Item 屬性 (Int32)

Gets a ConnectionEvaluationHistory object in the collection by id value.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public ReadOnly Default Property Item ( _
    id As Integer _
) As ConnectionEvaluationHistory
    Get
'用途
Dim instance As ConnectionEvaluationHistoryCollection
Dim id As Integer
Dim value As ConnectionEvaluationHistory

value = instance(id)
public ConnectionEvaluationHistory this[
    int id
] { get; }
public:
property ConnectionEvaluationHistory^ default[int id] {
    ConnectionEvaluationHistory^ get (int id);
}
member Item : ConnectionEvaluationHistory
JScript 支援索引屬性的使用,但不支援新屬性的宣告。

參數

屬性值

型別:Microsoft.SqlServer.Management.Dmf. . :: . .ConnectionEvaluationHistory
A ConnectionEvaluationHistory object value that represents the connection evaluation history that has the specified id value.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

使用集合