Compartilhar via


Classe DistributionPublication

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)

Sintaxe

'Declaração
Public NotInheritable Class DistributionPublication _
    Inherits ReplicationObject
'Uso
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

Comentários

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.

Hierarquia de herança

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

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.