EvaluationHistoryCollection 类

The EvaluationHistoryCollection class represents a collection of EvaluationHistory objects that represent all evaluation histories that are in the policy store.

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

语法

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

EvaluationHistoryCollection 类型公开以下成员。

构造函数

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

页首

属性

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

页首

方法

  名称 说明
公共方法 Add 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
受保护方法 AddShadow Adds the specified object to the shadow collection 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
公共方法 Clear 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
公共方法 Contains(Int64) Determines whether the collection contains the EvaluationHistory object specified by the id parameter.
公共方法 Contains(T) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'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< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
公共方法 CopyTo(array<T> [] () [] [], Int32) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
受保护方法 CreateAndInitializeChildObject Creates a child object and adds it to the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
受保护方法 EnsureCollectionInitialized Initialize the collection from the server. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
受保护方法 FinishMerge 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
受保护方法 GetCollectionElementNameImpl Gets the Uniform Resource Name (URN) suffix for elements in the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
受保护方法 GetElementFactoryImpl Returns the factory that is used to instantiate objects for the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
公共方法 GetEnumerator 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets an enumeration of the collection. (从 SfcDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
受保护方法 GetExistingObjectByKey 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
公共方法 GetHashCode (从 Object 继承。)
受保护方法 GetObjectByKey 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 ImplAddExisting Adds an existing specified object to this collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
受保护方法 ImplRemoveExisting 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
受保护方法 InitInnerCollection 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 PrepareMerge 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
公共方法 Refresh() () () () Refreshes the collection by creating new and merging existing objects and properties in the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
公共方法 Refresh(Boolean) Refreshes the collection by creating new and merging existing objects and properties in the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
公共方法 Remove 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcDictionaryCollection< (Of < ( <'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< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
受保护方法 Rename Renames the specified object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcCollection< (Of < ( <'T, K, ParentT> ) > ) > 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

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

页首

注释

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

示例

使用集合

线程安全

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