Queues a job to create a snapshot of a store
            
Namespace: BrightstarDB.ClientAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
| C# | 
|---|
public IJobInfo CreateSnapshot(
	string storeName,
	string targetStoreName,
	PersistenceType persistenceType,
	ICommitPointInfo sourceCommitPoint = null,
	string label = null
)  | 
| Visual Basic | 
|---|
Public Function CreateSnapshot ( 
	storeName As String,
	targetStoreName As String,
	persistenceType As PersistenceType,
	Optional sourceCommitPoint As ICommitPointInfo = Nothing,
	Optional label As String = Nothing
) As IJobInfo  | 
| Visual C++ | 
|---|
public:
virtual IJobInfo^ CreateSnapshot(
	String^ storeName, 
	String^ targetStoreName, 
	PersistenceType persistenceType, 
	ICommitPointInfo^ sourceCommitPoint = nullptr, 
	String^ label = nullptr
) sealed  | 
| F# | 
|---|
abstract CreateSnapshot : 
        storeName : string * 
        targetStoreName : string * 
        persistenceType : PersistenceType * 
        ?sourceCommitPoint : ICommitPointInfo * 
        ?label : string 
(* Defaults:
        let _sourceCommitPoint = defaultArg sourceCommitPoint null
        let _label = defaultArg label null
*)
-> IJobInfo 
override CreateSnapshot : 
        storeName : string * 
        targetStoreName : string * 
        persistenceType : PersistenceType * 
        ?sourceCommitPoint : ICommitPointInfo * 
        ?label : string 
(* Defaults:
        let _sourceCommitPoint = defaultArg sourceCommitPoint null
        let _label = defaultArg label null
*)
-> IJobInfo  | 
Parameters
- storeName
 - Type: System..::..String
The name of the store to take a snapshot of 
- targetStoreName
 - Type: System..::..String
The name of the store to be created to receive the snapshot 
- persistenceType
 - Type: PersistenceType
The type of persistence to use for the target store 
- sourceCommitPoint (Optional)
 - Type: BrightstarDB.Client..::..ICommitPointInfo
OPTIONAL: the commit point in the source store to take a snapshot from 
- label (Optional)
 - Type: System..::..String
Optional user-friendly label for the job. 
Return Value
Type: 
IJobInfoA 
IJobInfo instance for tracking the current status of the job.
Implements
IBrightstarService..::..CreateSnapshot(String, String, PersistenceType, ICommitPointInfo, String)
See Also