SubscriberDevice.DeviceName Property

Gets or sets the device name.

命名空間: Microsoft.SqlServer.NotificationServices
組件: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

語法

'宣告
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)

屬性值

A String containing the name of the subscriber device.

備註

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

ms149145.note(zh-tw,SQL.90).gif附註:
The combined length of the values in the DeviceName and SubscriberId columns cannot exceed 900 bytes, which is 450 Unicode characters.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

SubscriberDevice Class
SubscriberDevice Members
Microsoft.SqlServer.NotificationServices Namespace