ServerIPAddressCollection 클래스

정의

ServerIPAddressCollection 클래스는 부모 개체에 정의된 모든 서버 ID 주소를 나타내는 ServerIPAddress 개체의 컬렉션을 나타냅니다.

public ref class ServerIPAddressCollection sealed : Microsoft::SqlServer::Management::Smo::Wmi::WmiCollectionBase, System::Collections::ICollection
public sealed class ServerIPAddressCollection : Microsoft.SqlServer.Management.Smo.Wmi.WmiCollectionBase, System.Collections.ICollection
type ServerIPAddressCollection = class
    inherit WmiCollectionBase
    interface ICollection
    interface IEnumerable
Public NotInheritable Class ServerIPAddressCollection
Inherits WmiCollectionBase
Implements ICollection
상속
ServerIPAddressCollection
구현

예제

컬렉션 사용

설명

개체를 ServerIPAddressCollection 사용하여 서버 IP 주소 집합에 액세스할 수 있습니다. Item[] 속성으로 특정 ServerIPAddress 개체를 반환할 수 있습니다.

스레드 보안

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 구성원은 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 구성원은 스레드로부터의 안전성이 보장되지 않습니다.

필드

initialized

WMI(Windows Management Instrumentation) 개체 기본 설정에서 개체의 컬렉션을 초기화하는 부울 메서드를 정의합니다. 코드에서 직접 이 구성원을 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

(다음에서 상속됨 WmiCollectionBase)
innerColl

정보를 제공하기 위해서만 확인됩니다. 지원 안 됨 향후 호환성은 보장되지 않습니다.

(다음에서 상속됨 WmiCollectionBase)

속성

Count

참조된 컬렉션의 ServerIPAddress 개체 수를 가져옵니다.

IsSynchronized

컬렉션에 대한 액세스가 동기화되어 스레드로부터 안전한지 여부를 지정하는 Boolean 속성 값을 가져옵니다.

(다음에서 상속됨 WmiCollectionBase)
Item[Int32]

인덱스 번호를 사용하여 컬렉션에서 ServerIPAddress 개체를 가져옵니다.

Item[String]

이름을 사용하여 컬렉션에서 ServerIPAddress 개체를 가져옵니다.

SyncRoot

컬렉션에 대한 액세스를 동기화하는 데 사용할 수 있는 개체를 가져옵니다.

(다음에서 상속됨 WmiCollectionBase)

메서드

Add(WmiSmoObject)

참조된 컬렉션에 지정한 개체를 추가합니다.

(다음에서 상속됨 WmiCollectionBase)
Contains(String)

지정한 키 값이 컬렉션에 있는지 여부를 확인합니다.

CopyTo(ServerIPAddress[], Int32)

지정한 인덱스 값에서 시작하여 컬렉션 개체를 1차원 배열에 복사합니다.

GetEnumerator()

컬렉션의 개체를 반복할 수 있는 IEnumerator 인터페이스를 반환합니다.

Remove(String)

참조된 컬렉션에서 지정한 개체를 제거합니다.

(다음에서 상속됨 WmiCollectionBase)

명시적 인터페이스 구현

ICollection.CopyTo(Array, Int32)

지정한 인덱스 값에서 시작하여 컬렉션 개체를 1차원 배열에 복사합니다.

적용 대상