DistributionSubscription Class
Represents information stored at the Distributor about a subscription to a transactional or snapshot publication.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public NotInheritable Class DistributionSubscription _
Inherits ReplicationObject
'Usage
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
Remarks
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.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Replication.ReplicationObject
Microsoft.SqlServer.Replication.DistributionSubscription
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.