Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

LinkedServer::DataSource Property

Gets or sets the data source to be used when the linked server is made through a connection to an OLE DB provider.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property String^ DataSource {
	String^ get ();
	void set (String^ value);
}

Property Value

Type: System::String
A String value that specifies the data source on the linked server.

The data source is defined in by the OLE DB provider. For the OLE DB provider for SQL Server, it is the server name.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.