Share via


RegisteredSubscriber.Type Property

Gets or sets the type of Subscriber.

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

Syntax

'Declaration
Public Property Type As SubscriberType
    Get
    Set
'Usage
Dim instance As RegisteredSubscriber
Dim value As SubscriberType

value = instance.Type

instance.Type = value
public SubscriberType Type { get; set; }
public:
property SubscriberType Type {
    SubscriberType get ();
    void set (SubscriberType value);
}
member Type : SubscriberType with get, set
function get Type () : SubscriberType
function set Type (value : SubscriberType)

Property Value

Type: Microsoft.SqlServer.Replication.SubscriberType
A SubscriberType value that specifies the type of Subscriber.

Remarks

In Microsoft SQL Server 2005, it is no longer required to explicitly register a Subscriber at the Publisher. This property is provided for backward compatibility with previous versions of SQL Server.

The Type property is available with SQL Server 7.0 and SQL Server 2000.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.