SubscriberDevice.DeviceName Property

Gets or sets the device name.

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

Syntax

'Declaration
Public Property DeviceName As String
public string DeviceName { get; set; }
public:
virtual property String^ DeviceName {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_DeviceName ()

/** @property */
public final void set_DeviceName (String value)
public final function get DeviceName () : String

public final function set DeviceName (value : String)

Property Value

A String containing the name of the subscriber device.

Remarks

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

Note

The combined length of the values in the DeviceName and SubscriberId columns cannot exceed 900 bytes, which is 450 Unicode characters.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

SubscriberDevice Class
SubscriberDevice Members
Microsoft.SqlServer.NotificationServices Namespace