DataSource Property (DTS)

The DataSource property specifies a server name when an application uses the Microsoft OLE DB Provider for SQL Server.

Applies To
Connection Object  

Syntax

object.DataSource [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Data source name

Remarks

The data source may be a SQL Server name, file name, or some other specification meaningful to the provider.

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDataSource(BSTR *pRetVal);

HRESULT SetDataSource(BSTR NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.