IDataSource Interface

Interface representing the source.

Namespace:  Microsoft.SqlServerCe.Management.Scripting
Assembly:  Microsoft.SqlServerCe.Management.Scripting (in Microsoft.SqlServerCe.Management.Scripting.dll)

Syntax

'Declaration
Public Interface IDataSource _
    Inherits IDatabase
'Usage
Dim instance As IDataSource
public interface IDataSource : IDatabase
public interface class IDataSource : IDatabase
type IDataSource =  
    interface
        interface IDatabase
    end
public interface IDataSource extends IDatabase

The IDataSource type exposes the following members.

Properties

  Name Description
Public property Connection Gets the connection used to communicate to the database. (inherited from IDatabase)
Public property DatabaseName Gets the name of the database used. (inherited from IDatabase)
Public property Schema Gets the overall schema for the given source database.
Public property Type Gets the type of the database used. (inherited from IDatabase)

Top

Methods

  Name Description
Public method GetData Retrieves data for the given table from the source database.
Public method InitScripting Specifies the helper API that asks the source instance to be prepared for the scripting data.
Public method ResetScripting Specifies the helper API to bring the source instance to a valid state.

Top

See Also

Reference

Microsoft.SqlServerCe.Management.Scripting Namespace