Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 string DataSource { get; set; }

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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft