IDataDestination Interface

Defines properties and methods that represent the data destination.

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

Syntax

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

The IDataDestination 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 IsOffline Gets a value that indicates whether the destination connection is not available.
Public property Type Gets the type of the database used. (inherited from IDatabase)

Top

Methods

  Name Description
Public method InitScripting Helper API that asks the destination instance to be prepared for the script requests coming.
Public method ResetScripting Helper API to bring the destination instance to a valid state to start a new session, if required.
Public method ScriptConstraints Retrieves a script for all the constraints in the given schema.
Public method ScriptData Retrieves script for the table data insertion passed as an argument.
Public method ScriptDatabase Retrieves script for the database.
Public method ScriptIndexes Retrieves a script for all the indexes in the given schema.
Public method ScriptTables Retrieves script for all the tables in the given schema.

Top

See Also

Reference

Microsoft.SqlServerCe.Management.Scripting Namespace