SmoCollectionBase 클래스

The SmoCollectionBase class is a base class that is used in the construction of SMO collection classes and contains members that are common to them.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Smo.AbstractCollectionBase
    Microsoft.SqlServer.Management.Smo.SmoCollectionBase
      Microsoft.SqlServer.Management.Smo.ArrayListCollectionBase
      Microsoft.SqlServer.Management.Smo.SortedListCollectionBase

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

구문

‘선언
Public MustInherit Class SmoCollectionBase _
    Inherits AbstractCollectionBase _
    Implements ICollection, IEnumerable
‘사용 방법
Dim instance As SmoCollectionBase
public abstract class SmoCollectionBase : AbstractCollectionBase, 
    ICollection, IEnumerable
public ref class SmoCollectionBase abstract : public AbstractCollectionBase, 
    ICollection, IEnumerable
[<AbstractClassAttribute>]
type SmoCollectionBase =  
    class 
        inherit AbstractCollectionBase 
        interface ICollection 
        interface IEnumerable 
    end
public abstract class SmoCollectionBase extends AbstractCollectionBase implements ICollection, IEnumerable

SmoCollectionBase 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 Count Gets the number of objects in the referenced collection.
공용 속성 IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe.
공용 속성 SyncRoot Gets an object that can be used to synchronize access to the collection.

맨 위로 이동

메서드

  이름 설명
보호된 메서드 AddExisting Adds an object to the collection. (AbstractCollectionBase에서 상속됨)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
보호된 메서드 GetCollectionElementType Gets the Collection Element Type.
공용 메서드 GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection.
공용 메서드 GetHashCode (Object에서 상속됨)
보호된 메서드 GetItemById(Int32) Extracts a member from the referenced collection using a system-defined, unique identifier.
보호된 메서드 GetItemById(Int32, String) Extracts a member from the referenced collection using a system-defined, unique identifier and name.
보호된 메서드 GetObjectByIndex Extracts a member from the referenced collection using a system-defined, unique identifier.
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 ImplAddExisting Adds an existing object to the collection. (AbstractCollectionBase.ImplAddExisting(SqlSmoObject)을(를) 재정의함)
보호된 메서드 InitializeChildCollection() Initializes the child collections of the referenced collection.
보호된 메서드 InitializeChildCollection(Boolean) Initializes the child collections of the referenced collection with the option to refresh the properties of the referenced collection.
보호된 메서드 InitInnerCollection Initializes the collection.
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 Refresh() Refreshes the referenced collection.
공용 메서드 Refresh(Boolean) Refreshes the referenced collection with the option to refresh child objects of the referenced collection.
공용 메서드 ToString (Object에서 상속됨)
보호된 메서드 ValidateParentObject Validates the parent object exists.

맨 위로 이동

필드

  이름 설명
보호된 필드 initialized This value supports the SMO infrastructure and is not intended to be used directly from your code. (AbstractCollectionBase에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 ICollection.CopyTo Copies the elements from an instance to an array beginning at the index indicated.

맨 위로 이동

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

컬렉션 사용

스레드 보안

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

참고 항목

참조

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