RegisteredServerCollection 클래스

The RegisteredServerCollection class represents a collection of RegisteredServer objects that represent all the registered servers that are defined on the parent object.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<RegisteredServer, RegisteredServer.Key, ServerGroup>
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollatedDictionaryCollection<RegisteredServer, RegisteredServer.Key, ServerGroup>
      Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerCollection

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

구문

‘선언
Public NotInheritable Class RegisteredServerCollection _
    Inherits SfcCollatedDictionaryCollection(Of RegisteredServer, RegisteredServer.Key, ServerGroup)
‘사용 방법
Dim instance As RegisteredServerCollection
public sealed class RegisteredServerCollection : SfcCollatedDictionaryCollection<RegisteredServer, RegisteredServer.Key, ServerGroup>
public ref class RegisteredServerCollection sealed : public SfcCollatedDictionaryCollection<RegisteredServer^, RegisteredServer.Key^, ServerGroup^>
[<SealedAttribute>]
type RegisteredServerCollection =  
    class 
        inherit SfcCollatedDictionaryCollection<RegisteredServer, RegisteredServer.Key, ServerGroup>
    end
public final class RegisteredServerCollection extends SfcCollatedDictionaryCollection<RegisteredServer, RegisteredServer.Key, ServerGroup>

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

생성자

  이름 설명
공용 메서드 RegisteredServerCollection Initializes a new instance of the RegisteredServerCollection class based on the specified parent object and the specified comparison interface.

맨 위로 이동

속성

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

맨 위로 이동

메서드

  이름 설명
공용 메서드 Add Adds the specified object to the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcCollection<T, K, ParentT>에서 상속됨)
공용 메서드 Clear Removes all items from the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcCollatedDictionaryCollection<T, K, ParentT>에서 상속됨)
공용 메서드 Contains(String) Determines whether the specified registered server exists in the referenced collection.
공용 메서드 Contains(T) Determines whether the collection contains the specified object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcCollatedDictionaryCollection<T, K, ParentT>에서 상속됨)
공용 메서드 CopyTo(array<T[], Int32) Copies the elements from the collection to the specified array, starting at the specified array index. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcCollatedDictionaryCollection<T, K, ParentT>에서 상속됨)
공용 메서드 CopyTo(Array, Int32) Copies the elements from the collection to the specified array, starting at the specified array index. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcCollection<T, K, ParentT>에서 상속됨)
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetEnumerator Returns an enumerator that can iterate through the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcCollatedDictionaryCollection<T, K, ParentT>에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 Refresh() Refreshes the collection by creating new and merging existing objects and properties in the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcCollection<T, K, ParentT>에서 상속됨)
공용 메서드 Refresh(Boolean) Refreshes the collection by creating new and merging existing objects and properties in the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcCollection<T, K, ParentT>에서 상속됨)
공용 메서드 Remove Removes the specified object from the collection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcCollatedDictionaryCollection<T, K, ParentT>에서 상속됨)
보호된 메서드 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 인프라를 지원합니다. (SfcCollection<T, K, ParentT>에서 상속됨)
보호된 메서드 Rename Renames the specified object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcCollection<T, K, ParentT>에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)
공용 메서드 TryGetValue Gets the value associated with the specified key. (SfcCollatedDictionaryCollection<T, K, ParentT>에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

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

맨 위로 이동

주의

A RegisteredServerCollection object can be used to gain access to a set of check constraints. You can use the Item property to return a specific RegisteredServer object.

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

컬렉션 사용

스레드 보안

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

참고 항목

참조

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