다음을 통해 공유


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.

SmoCollectionBase 형식은 다음 멤버를 노출합니다.

메서드

  이름 설명
보호된 메서드 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 (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에서 상속됩니다.)

맨 위로 이동

속성

  이름 설명
공용 속성 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.

맨 위로 이동

명시적 인터페이스 구현

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

맨 위로 이동