ConditionCollection 类

The ConditionCollection class represents a collection of Condition objects that represent all the conditions in the policy store.

继承层次结构

System. . :: . .Object
  SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) >
    SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) >
      Microsoft.SqlServer.Management.Dmf..::..ConditionCollection

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

语法

声明
Public NotInheritable Class ConditionCollection _
    Inherits SfcDictionaryCollection(Of Condition, Condition..::..Key, PolicyStore)
用法
Dim instance As ConditionCollection
public sealed class ConditionCollection : SfcDictionaryCollection<Condition, Condition..::..Key, PolicyStore>
public ref class ConditionCollection sealed : public SfcDictionaryCollection<Condition^, Condition..::..Key^, PolicyStore^>
[<SealedAttribute>]
type ConditionCollection =  
    class
        inherit SfcDictionaryCollection<Condition, Condition..::..Key, PolicyStore>
    end
public final class ConditionCollection extends SfcDictionaryCollection<Condition, Condition..::..Key, PolicyStore>

ConditionCollection 类型公开以下成员。

构造函数

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

页首

属性

  名称 说明
公共属性 Count 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护属性 Initialized 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共属性 IsReadOnly 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共属性 IsSynchronized 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共属性 Item[ ( [ ( String] ) ] ) Gets a Condition object in the collection by name.
公共属性 Item(UTP) 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护属性 Parent 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共属性 SyncRoot 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)

页首

方法

  名称 说明
公共方法 Add 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护方法 AddShadow 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 Clear 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 Contains(String) Verifies whether the specified string exists in the collection.
公共方法 Contains(UTP) 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 Contains(UTP) (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 CopyTo(Array, Int32) 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 CopyTo(array<UTP>[]()[][], Int32) 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护方法 CreateAndInitializeChildObject 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护方法 EnsureCollectionInitialized 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
受保护方法 FinishMerge 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护方法 GetCollectionElementNameImpl 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护方法 GetElementFactoryImpl 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 GetEnumerator 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护方法 GetExistingObjectByKey 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 GetHashCode (从 Object 继承。)
受保护方法 GetObjectByKey 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 ImplAddExisting 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护方法 ImplRemoveExisting 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护方法 InitInnerCollection 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 PrepareMerge 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 Refresh()()()() 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 Refresh(Boolean) 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 Remove 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护方法 RemoveInternal 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
受保护方法 Rename 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#Add 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#AddShadow 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有属性 System#ComponentModel#IListSource#ContainsListCollection 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有属性 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#Count 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#EnsureInitialized 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#FinishMerge 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#GetCollectionElementNameImpl 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#GetElementFactory 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 System#Collections#IEnumerable#GetEnumerator 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcDictionaryCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#GetExisting 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 System#ComponentModel#IListSource#GetList 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#GetObjectByKey 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有属性 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#Initialized 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有属性 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#Parent 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#PrepareMerge 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#Remove 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#RemoveElement 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)
显式接口实现私有方法 Microsoft#SqlServer#Management#Sdk#Sfc#ISfcCollection#Rename 标识为仅供参考。 不提供支持。 不保证以后的兼容性。 (从 SfcCollection< (Of < ( <'Condition, Condition. . :: . .Key, PolicyStore> ) > ) > 继承。)

页首

注释

A ConditionCollection object can be used to gain access to a set of conditions. You can use the Item property to return a specific Condition object.

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

示例

使用集合

线程安全

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