ConnectionEvaluationHistoryCollection 类

The ConnectionEvaluationHistoryCollection class represents a collection of ConnectionEvaluationHistory objects that represent all the connection evaluation histories that are in the evaluation history.

继承层次结构

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<ConnectionEvaluationHistory, ConnectionEvaluationHistory.Key, EvaluationHistory>
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcDictionaryCollection<ConnectionEvaluationHistory, ConnectionEvaluationHistory.Key, EvaluationHistory>
      Microsoft.SqlServer.Management.Dmf.ConnectionEvaluationHistoryCollection

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

语法

声明
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class ConnectionEvaluationHistoryCollection _
    Inherits SfcDictionaryCollection(Of ConnectionEvaluationHistory, ConnectionEvaluationHistory.Key, EvaluationHistory)
用法
Dim instance As ConnectionEvaluationHistoryCollection
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class ConnectionEvaluationHistoryCollection : SfcDictionaryCollection<ConnectionEvaluationHistory, ConnectionEvaluationHistory.Key, EvaluationHistory>
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ConnectionEvaluationHistoryCollection sealed : public SfcDictionaryCollection<ConnectionEvaluationHistory^, ConnectionEvaluationHistory.Key^, EvaluationHistory^>
[<SealedAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ConnectionEvaluationHistoryCollection =  
    class 
        inherit SfcDictionaryCollection<ConnectionEvaluationHistory, ConnectionEvaluationHistory.Key, EvaluationHistory>
    end
public final class ConnectionEvaluationHistoryCollection extends SfcDictionaryCollection<ConnectionEvaluationHistory, ConnectionEvaluationHistory.Key, EvaluationHistory>

ConnectionEvaluationHistoryCollection 类型公开以下成员。

构造函数

  名称 说明
公共方法 ConnectionEvaluationHistoryCollection Initializes a new instance of the ConnectionEvaluationHistoryCollection class.

页首

属性

  名称 说明
公共属性 Count 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection<T, K, ParentT> 继承。)
受保护属性 Initialized Gets a value indicating whether the collection has been initialized. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
公共属性 IsReadOnly 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection<T, K, ParentT> 继承。)
公共属性 IsSynchronized Gets or sets a value indicating whether access to the collection is synchronized (thread safe). 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
公共属性 Item[Int32] Gets a ConnectionEvaluationHistory object in the collection by id value.
公共属性 Item[K] Gets the item specified by the key. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
受保护属性 Parent Gets or sets the type of the parent object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
公共属性 SyncRoot Gets or sets an object that can be used to synchronize access to the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)

页首

方法

  名称 说明
公共方法 Add Adds the specified object to the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
公共方法 Clear 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection<T, K, ParentT> 继承。)
公共方法 Contains(Int32) Verifies whether the an object with the specified ID value exists in the collection.
公共方法 Contains(T) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection<T, K, ParentT> 继承。)
公共方法 CopyTo(Array, Int32) Copies the elements from the collection to the specified array, starting at the specified array index. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
公共方法 CopyTo(array<T[], Int32) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection<T, K, ParentT> 继承。)
公共方法 Equals (从 Object 继承。)
公共方法 GetEnumerator 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets an enumeration of the collection. (从 SfcDictionaryCollection<T, K, ParentT> 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 Refresh() Refreshes the collection by creating new and merging existing objects and properties in the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
公共方法 Refresh(Boolean) Refreshes the collection by creating new and merging existing objects and properties in the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
公共方法 Remove 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection<T, K, ParentT> 继承。)
受保护方法 RemoveInternal Marks the specified object for removal. The state of the object is set to ToBeDropped. The object will be removed when the parent is altered or dropped. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
受保护方法 Rename Renames the specified object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
公共方法 ToString (从 Object 继承。)
公共方法 TryGetValue Gets the value associated with the specified key. (从 SfcDictionaryCollection<T, K, ParentT> 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有属性 IListSource.ContainsListCollection Gets a value indicating whether the collection is a collection of IList objects. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 IEnumerable.GetEnumerator Gets an enumerator that can iterate the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 IListSource.GetList Returns an IList object that can be bound to a data source from an object that does not implement the IList interface. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 ISfcCollection.Add Adds the specified object to the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 ISfcCollection.AddShadow Adds the specified object to the shadow collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有属性 ISfcCollection.Count Gets the number of items contained in the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 ISfcCollection.EnsureInitialized Initializes the collection from the server. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 ISfcCollection.FinishMerge Swaps the new collection for the old collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 ISfcCollection.GetCollectionElementNameImpl Gets the URN suffix for elements in the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 ISfcCollection.GetElementFactory Gets the factory that is used to instantiate objects for the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 ISfcCollection.GetExisting Uses the specified key to retrieve an existing item from the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 ISfcCollection.GetObjectByKey Uses the specified key to retrieve an object from the collection. If a matching object is not found, the object is created, and added to the collection (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有属性 ISfcCollection.Initialized Gets or sets a value indicating whether the collection has been initialized. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有属性 ISfcCollection.Parent Gets the parent object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 ISfcCollection.PrepareMerge Prepares to merge fresh query results into the existing collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 ISfcCollection.Remove Removes the specified object from the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 ISfcCollection.RemoveElement Removes the specified element from the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)
显式接口实现私有方法 ISfcCollection.Rename Renames the specified object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection<T, K, ParentT> 继承。)

页首

注释

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

示例

使用集合

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Dmf 命名空间