共用方式為


TransPublicationCollection 類別

Represents a collection of TransPublication objects.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public NotInheritable Class TransPublicationCollection _
    Inherits ReplicationBaseCollection
'用途
Dim instance As TransPublicationCollection
public sealed class TransPublicationCollection : ReplicationBaseCollection
public ref class TransPublicationCollection sealed : public ReplicationBaseCollection
[<SealedAttribute>]
type TransPublicationCollection =  
    class
        inherit ReplicationBaseCollection
    end
public final class TransPublicationCollection extends ReplicationBaseCollection

備註

A TransPublication object in the collection can be accessed from the Item property. This can be done using an [Int32] index value or using a [String] index value that is the Name property 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.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Replication. . :: . .ReplicationBaseCollection
    Microsoft.SqlServer.Replication..::..TransPublicationCollection

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。