SfcCollection<T, K, ParentT> 클래스

Represents the base for all domain collections. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<T, K, ParentT>
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollatedDictionaryCollection<T, K, ParentT>
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcDictionaryCollection<T, K, ParentT>
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcListCollection<T, K, ParentT>

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

구문

‘선언
Public MustInherit Class SfcCollection(Of T As SfcInstance, K As SfcKey, ParentT As SfcInstance) _
    Implements ICollection(Of T), ICollection, ISfcCollection,  _
    IEnumerable(Of T), IEnumerable, IListSource
‘사용 방법
Dim instance As SfcCollection(Of T, K, ParentT)
public abstract class SfcCollection<T, K, ParentT> : ICollection<T>, 
    ICollection, ISfcCollection, IEnumerable<T>, IEnumerable, IListSource 
where T : SfcInstance 
where K : SfcKey 
where ParentT : SfcInstance
generic<typename T, typename K, typename ParentT>
where T : SfcInstance 
where K : SfcKey 
where ParentT : SfcInstance 
public ref class SfcCollection abstract : ICollection<T>, 
    ICollection, ISfcCollection, IEnumerable<T>, IEnumerable, IListSource
[<AbstractClassAttribute>]
type SfcCollection<'T, 'K, 'ParentT when 'T : SfcInstance when 'K : SfcKey when 'ParentT : SfcInstance> =  
    class 
        interface ICollection<'T>
        interface ICollection 
        interface ISfcCollection 
        interface IEnumerable<'T>
        interface IEnumerable 
        interface IListSource 
    end
JScript는 제네릭 형식 및 메서드를 지원하지 않습니다.

유형 매개 변수

  • T
    The type of the items in the collection, constrained to SfcInstance.
  • K
    The type of the key, constrained to SfcKey.
  • ParentT
    The type of the parent object, constrained to SfcInstance.

SfcCollection<T, K, ParentT> 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
보호된 메서드 SfcCollection<T, K, ParentT> Initializes a new instance of the SfcCollection<T, K, ParentT> class. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

맨 위로 이동

속성

  이름 설명
공용 속성 Count Gets the number of items contained in the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
보호된 속성 Initialized Gets a value indicating whether the collection has been initialized. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 속성 IsReadOnly Gets a value indicating whether the collection is read-only. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 속성 IsSynchronized Gets or sets a value indicating whether access to the collection is synchronized (thread safe). 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 속성 Item Gets the item specified by the key. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
보호된 속성 Parent Gets or sets the type of the parent object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 속성 SyncRoot Gets or sets an object that can be used to synchronize access to the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Add Adds the specified object to the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
보호된 메서드 AddImpl Adds an object or member to this collection.
보호된 메서드 AddShadow Adds the specified object to the shadow collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 메서드 Clear Removes all items from the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 메서드 Contains(K) Determines whether the collection contains the specified key.
공용 메서드 Contains(T) Determines whether the collection contains the specified object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 메서드 CopyTo(Array, Int32) Copies the elements from the collection to the specified array, starting at the specified array index. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 메서드 CopyTo(array<T[], Int32) Copies the elements from the collection to the specified array, starting at the specified array index. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
보호된 메서드 CreateAndInitializeChildObject Creates a child object and adds it to the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
보호된 메서드 EnsureCollectionInitialized Initialize the collection from the server. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
보호된 메서드 FinishMerge Swaps the new collection for the old collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
보호된 메서드 GetCollectionElementNameImpl Gets the Uniform Resource Name (URN) suffix for elements in the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
보호된 메서드 GetElementFactoryImpl Returns the factory that is used to instantiate objects for the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 메서드 GetEnumerator Returns an enumerator that can iterate the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
보호된 메서드 GetExistingObjectByKey Uses the specified key to retrieve an existing object from the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 메서드 GetHashCode (Object에서 상속됨)
보호된 메서드 GetObjectByKey Uses the specified key to retrieve an existing object from the collection. If a matching object is not found, the object is created, and added to the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 InitInnerCollection Creates an empty internal collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
보호된 메서드 MemberwiseClone (Object에서 상속됨)
보호된 메서드 PrepareMerge Prepares to merge fresh query results into the existing collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 메서드 Refresh() Refreshes the collection by creating new and merging existing objects and properties in the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 메서드 Refresh(Boolean) Refreshes the collection by creating new and merging existing objects and properties in the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 메서드 Remove Removes the specified object from the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
보호된 메서드 RemoveImpl Removes the specified object from the collection.
보호된 메서드 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 인프라를 지원합니다.
보호된 메서드 Rename Renames the specified object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 속성 IListSource.ContainsListCollection Gets a value indicating whether the collection is a collection of IList objects. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 IEnumerable.GetEnumerator Gets an enumerator that can iterate the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 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 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 ISfcCollection.Add Adds the specified object to the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 ISfcCollection.AddShadow Adds the specified object to the shadow collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 속성 ISfcCollection.Count Gets the number of items contained in the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 ISfcCollection.EnsureInitialized Initializes the collection from the server. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 ISfcCollection.FinishMerge Swaps the new collection for the old collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 ISfcCollection.GetCollectionElementNameImpl Gets the URN suffix for elements in the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 ISfcCollection.GetElementFactory Gets the factory that is used to instantiate objects for the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 ISfcCollection.GetExisting Uses the specified key to retrieve an existing item from the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 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
명시적 인터페이스 구현전용 속성 ISfcCollection.Initialized Gets or sets a value indicating whether the collection has been initialized. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 속성 ISfcCollection.Parent Gets the parent object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 ISfcCollection.PrepareMerge Prepares to merge fresh query results into the existing collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 ISfcCollection.Remove Removes the specified object from the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 ISfcCollection.RemoveElement Removes the specified element from the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 ISfcCollection.Rename Renames the specified object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Sdk.Sfc 네임스페이스