ConditionCollection 클래스

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

상속 계층

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<Condition, Condition.Key, PolicyStore>
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcDictionaryCollection<Condition, Condition.Key, PolicyStore>
      Microsoft.SqlServer.Management.Dmf.ConditionCollection

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)

구문

‘선언
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class ConditionCollection _
    Inherits SfcDictionaryCollection(Of Condition, Condition.Key, PolicyStore)
‘사용 방법
Dim instance As ConditionCollection
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class ConditionCollection : SfcDictionaryCollection<Condition, Condition.Key, PolicyStore>
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ConditionCollection sealed : public SfcDictionaryCollection<Condition^, Condition.Key^, PolicyStore^>
[<SealedAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
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 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 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[String] Gets a Condition object in the collection by name.
공용 속성 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(String) Verifies whether the specified string 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>에서 상속됨)

맨 위로 이동

주의

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) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Dmf 네임스페이스