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