共用方式為


ConditionCollection 類別

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

命名空間:  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>

備註

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 版支援此命名空間、類別或成員。

範例

使用集合

繼承階層

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

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。