SetOptions Method

SQLServer.RemoteServer Object

Description

Changes server options for a remote server.

Visual Basic

RemoteServer.SetOptions (
[Options :=] tServerOptions,
[Setting :=] bSetting )

C++

HRESULT pRemoteServer->SetOptions (
SQLOLE_SRVOPTION_TYPE
tServerOptions,
BOOL
bSetting );

Elements

Element Type Description

tServerOptions SQLOLE_SRVOPTION_TYPE Bitmap of server options to set
bSetting Boolean New setting for all the specified options

Reference

sp_serveroption