Share via


PublicationMonitorCollection 클래스

A collection of PublicationMonitor objects that represents publications at the Distributor.

상속 계층

System.Object
  Microsoft.SqlServer.Replication.ReplicationBaseCollection
    Microsoft.SqlServer.Replication.PublicationMonitorCollection

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

구문

‘선언
Public NotInheritable Class PublicationMonitorCollection _
    Inherits ReplicationBaseCollection
‘사용 방법
Dim instance As PublicationMonitorCollection
public sealed class PublicationMonitorCollection : ReplicationBaseCollection
public ref class PublicationMonitorCollection sealed : public ReplicationBaseCollection
[<SealedAttribute>]
type PublicationMonitorCollection =  
    class 
        inherit ReplicationBaseCollection 
    end
public final class PublicationMonitorCollection extends ReplicationBaseCollection

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

속성

  이름 설명
공용 속성 Count Gets the number of objects in the referenced collection. (ReplicationBaseCollection에서 상속됨)
공용 속성 IsSynchronized Gets whether or not access to the collection is synchronized and is therefore thread-safe. (ReplicationBaseCollection에서 상속됨)
공용 속성 Item[Int32] Gets a PublicationMonitor object in the collection by index number.
공용 속성 Item[String, String] Gets a PublicationMonitor object in the collection by publication database and publication name.
공용 속성 SyncRoot Gets an object that can be used to synchronize access to the collection. (ReplicationBaseCollection에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 CopyTo(Array, Int32) Copies the collection to an array. (ReplicationBaseCollection에서 상속됨)
공용 메서드 CopyTo(PublicationMonitorCollection, Int32) Makes a copy of the collection.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetEnumerator Gets an enumerator that is used to iterate through the objects in a collection. (ReplicationBaseCollection에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 Refresh Refreshes the collection. (ReplicationBaseCollection에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

주의

A PublicationMonitor object in the PublicationMonitorCollection can be accessed using an [Int32] index value or a [String,String] index value that is the name of the publication database and the name of the publication.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

스레드 보안

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

참고 항목

참조

Microsoft.SqlServer.Replication 네임스페이스

관련 자료

프로그래밍 방식으로 복제 모니터링(RMO 프로그래밍)