Delen via


AdHocTableReference.DataSource Property

Gets or sets the Ad hoc connection information.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property DataSource As AdHocDataSource 
    Get 
    Set
'Usage
Dim instance As AdHocTableReference 
Dim value As AdHocDataSource 

value = instance.DataSource

instance.DataSource = value
public AdHocDataSource DataSource { get; set; }
public:
property AdHocDataSource^ DataSource {
    AdHocDataSource^ get ();
    void set (AdHocDataSource^ value);
}
member DataSource : AdHocDataSource with get, set
function get DataSource () : AdHocDataSource 
function set DataSource (value : AdHocDataSource)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.AdHocDataSource
The Ad hoc connection information.

See Also

Reference

AdHocTableReference Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace