Partager via


Propriété AdHocTableReference.DataSource

Gets or sets the Ad hoc connection information.

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
Public Property DataSource As AdHocDataSource 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Voir aussi

Référence

AdHocTableReference Classe

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom