xSQL Schema Compare SDK version 9.5 for SQL Server
CreateFromSnapshot(Stream,EventHandler<SnapshotOperationEventArgs>) Method


The stream that contains the database snapshot.
A method that should be attached to the snapshot event in order to get progress information.
Creates a database objects from the specified snapshot stream.
Syntax
'Declaration
 
Public Overloads Shared Function CreateFromSnapshot( _
   ByVal stream As System.IO.Stream, _
   Optional ByVal snapshotOperationProgress As System.EventHandler(Of SnapshotOperationEventArgs) _
) As SqlDatabase
public static SqlDatabase CreateFromSnapshot( 
   System.IO.Stream stream,
   System.EventHandler<SnapshotOperationEventArgs> snapshotOperationProgress
)
public: static SqlDatabase* CreateFromSnapshot( 
   System.IO.Stream* stream,
   System.EventHandler<SnapshotOperationEventArgs*>* snapshotOperationProgress
) 

Parameters

stream
The stream that contains the database snapshot.
snapshotOperationProgress
A method that should be attached to the snapshot event in order to get progress information.

Return Value

A SqlDatabase object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SqlDatabase Class
SqlDatabase Members
Overload List

 

 


┬ęCopyright 2018 xSQL Software. All Rights Reserved.

Send Feedback