DatabaseCollection 멤버
The DatabaseCollection class represents a collection of Database objects that represent all the databases defined on the instance of SQL Server.
DatabaseCollection 형식은 다음 멤버를 노출합니다.
메서드
이름 | 설명 | |
---|---|---|
Add | Adds an database object to the collection. | |
AddExisting | Adds an object to the collection. (AbstractCollectionBase에서 상속됩니다.) | |
AddImpl | Adds the specified object to this collection (SortedListCollectionBase에서 상속됩니다.) | |
Contains | Verifies whether the specified object exists in the collection. (SimpleObjectCollectionBase에서 상속됩니다.) | |
CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. | |
Equals | (Object에서 상속됩니다.) | |
Finalize | (Object에서 상속됩니다.) | |
GetCollectionElementType | Gets the Collection Element Type. (SmoCollectionBase에서 상속됩니다.) | |
GetEnumerator | Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (SmoCollectionBase에서 상속됩니다.) | |
GetHashCode | (Object에서 상속됩니다.) | |
GetItemById(Int32) | Extracts a member from the referenced collection using a system-defined, unique identifier. (SmoCollectionBase에서 상속됩니다.) | |
GetItemById(Int32, String) | Extracts a member from the referenced collection using a system-defined, unique identifier and name. (SmoCollectionBase에서 상속됩니다.) | |
GetObjectByIndex | Extracts a member from the referenced collection using a system-defined, unique identifier. (SmoCollectionBase에서 상속됩니다.) | |
GetType | (Object에서 상속됩니다.) | |
ImplAddExisting | Adds an existing specified object to this collection (SortedListCollectionBase에서 상속됩니다.) | |
InitializeChildCollection() () () () | Initializes the child collections of the referenced collection. (SmoCollectionBase에서 상속됩니다.) | |
InitializeChildCollection(Boolean) | Initializes the child collections of the referenced collection with the option to refresh the properties of the referenced collection. (SmoCollectionBase에서 상속됩니다.) | |
InitInnerCollection | Initializes the collection. (SimpleObjectCollectionBase에서 상속됩니다.) | |
ItemById | Extracts a member from the DatabaseCollection collection using a system-defined, unique identifier. | |
MemberwiseClone | (Object에서 상속됩니다.) | |
Refresh() () () () | Refreshes the referenced collection. (SmoCollectionBase에서 상속됩니다.) | |
Refresh(Boolean) | Refreshes the referenced collection with the option to refresh child objects of the referenced collection. (SmoCollectionBase에서 상속됩니다.) | |
ToString | (Object에서 상속됩니다.) | |
ValidateParentObject | Validates the parent object exists. (SmoCollectionBase에서 상속됩니다.) |
맨 위로 이동
필드
이름 | 설명 | |
---|---|---|
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. (SmoCollectionBase에서 상속됩니다.) | |
IsSynchronized | Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (SmoCollectionBase에서 상속됩니다.) | |
Item[ ( [ ( Int32] ) ] ) | Gets a Database object in the collection by index number. | |
Item[ ( [ ( String] ) ] ) | Gets a Database object in the collection by name. | |
Parent | Gets the Server object that is the parent of the Database object. | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. (SmoCollectionBase에서 상속됩니다.) |
맨 위로 이동
명시적 인터페이스 구현
이름 | 설명 | |
---|---|---|
ICollection. . :: . .CopyTo | Copies the elements from an instance to an array beginning at the index indicated. (SmoCollectionBase에서 상속됩니다.) |
맨 위로 이동