Partager via


Type propriété

Gets or sets the type of Subscriber.

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

Syntaxe

'Déclaration
Public Property Type As SubscriberType
    Get
    Set
'Utilisation
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)

Valeur de la propriété

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

Notes

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.