Adsp Property

SQL-DMO

SQL-DMO

Adsp Property

The Adsp property specifies an AppleTalk (ADSP) service object name on a computer running Microsoft® SQL Server™.

Applies To
Registry2 Object
Syntax

object.Adsp [= value]

Parts

object

Expression that evaluates to an object in the Applies To list

value

String that specifies the ADSP service object name

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetAdsp(SQLDMO_LPBSTR pRetVal);

HRESULT SetAdsp(SQLDMO_LPCSTR NewValue);

Remarks

To set the Adsp property, you must be a member of the sysadmin fixed server role. Typically, the computer name of the server (for example, ACCOUNTING1) is used for consistency.

Important  Setting the Adsp property changes registry settings, and should be used with caution.

Note  The AppleTalk Net-Library is not supported on Microsoft Windows® 95/Windows 98, and does not support server enumeration.

Note  If an application calls Adsp on an instance of SQL Server version 7.0, the constant, SQLDMO_E_SQL80ONLY, and the message "This property or method requires Microsoft SQL Server 2000" are returned.