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-cn,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