Partager via


Classe DistributionPublication

Represents information about a transactional or snapshot publication stored at the Distributor.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (dans Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class DistributionPublication _
    Inherits ReplicationObject
'Utilisation
Dim instance As DistributionPublication
public sealed class DistributionPublication : ReplicationObject
public ref class DistributionPublication sealed : public ReplicationObject
[<SealedAttribute>]
type DistributionPublication =  
    class
        inherit ReplicationObject
    end
public final class DistributionPublication extends ReplicationObject

Notes

The DistributionPublication class is used primarily by SQL Server Management Studio and for non-SQL Server Publishers. To create, view, or modify the properties of a publication, you should instead use an instance of the TransPublication class.

The DistributionPublication class requires a connection to the Distributor.

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.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Replication. . :: . .ReplicationObject
    Microsoft.SqlServer.Replication..::..DistributionPublication

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.