Freigeben über


SubscriberDevice.SubscriberId Property

Gets or sets the subscriber ID that identifies the subscriber with which this device is associated.

Namespace: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

'Declaration
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)

Eigenschaftswert

A String containing the subscriber ID of the subscriber with which the subscriber device is associated.

Hinweise

The subscriber ID, in combination with the device name, uniquely identifies this record in the subscriber devices table.

ms149197.note(de-de,SQL.90).gifHinweis:
The combined length of the values in the DeviceName and SubscriberId columns cannot exceed 900 bytes. This is 450 Unicode characters.

Setting the subscriber ID in a procedure can cause 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. This occurs in situations where a record with a device name value identical to the record that was originally retrieved exists for the record identified by the subscriber ID that was set.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

SubscriberDevice Class
SubscriberDevice Members
Microsoft.SqlServer.NotificationServices Namespace