Partager via


Subscriber.SubscriberId Property

Gets or sets the identifier of the subscriber record.

Espace de noms: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntaxe

'Déclaration
Public Property SubscriberId As String
public string SubscriberId { get; set; }
public:
virtual property String^ SubscriberId {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_SubscriberId ()

/** @property */
public final void set_SubscriberId (String value)
public final function get SubscriberId () : String

public final function set SubscriberId (value : String)

Valeur de propriété

A String containing the ID of the subscriber.

Notes

The subscriber ID cannot be null or a zero-length string.

How the system interprets the uniqueness of a subscriber ID is dependent partially on the collation used by the instance database. Trailing spaces and case changes are interpreted based on the collation used. For instance, some systems interpret "mySubscriber" and "MySubscriber" as two different IDs, and others do not. Take your database collation into account when planning the data verification code for your subscription management application.

Setting the subscriber ID in a procedure causes all subsequent update and delete actions to be performed on the record identified by the subscriber ID that was set, and not on the record that was originally retrieved.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Subscriber Class
Subscriber Members
Microsoft.SqlServer.NotificationServices Namespace