Compartir a través de


DistributionSubscription Clase

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

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public NotInheritable Class DistributionSubscription _
    Inherits ReplicationObject
'Uso
Dim instance As DistributionSubscription
public sealed class DistributionSubscription : ReplicationObject
public ref class DistributionSubscription sealed : public ReplicationObject
[<SealedAttribute>]
type DistributionSubscription =  
    class
        inherit ReplicationObject
    end
public final class DistributionSubscription extends ReplicationObject

Notas

The DistributionSubscription class is primarily used by SQL Server Management Studio to maintain subscriptions to non-SQL Server Publications. Use an instance of the TransSubscription or class to obtain information on subscriptions registered with a SQL Server Publisher.

The DistributionSubscription class can only be used to return information about an existing subscription. You must use an instance of the TransSubscription class to create or remove a subscription to a transactional or snapshot 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.

Jerarquía de herencia

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

Seguridad para subprocesos

Todos los miembros públicos static (Shared en Visual Basic) de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.