Create a request for a new Snapshot job

Namespace: BrightstarDB.Dto
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public static JobRequestObject CreateSnapshotJob(
	string targetStoreName,
	PersistenceType persistenceType,
	ulong commitPointId,
	string label = null
)
Visual Basic
Public Shared Function CreateSnapshotJob ( 
	targetStoreName As String,
	persistenceType As PersistenceType,
	commitPointId As ULong,
	Optional label As String = Nothing
) As JobRequestObject
Visual C++
public:
static JobRequestObject^ CreateSnapshotJob(
	String^ targetStoreName, 
	PersistenceType persistenceType, 
	unsigned long long commitPointId, 
	String^ label = nullptr
)
F#
static member CreateSnapshotJob : 
        targetStoreName : string * 
        persistenceType : PersistenceType * 
        commitPointId : uint64 * 
        ?label : string 
(* Defaults:
        let _label = defaultArg label null
*)
-> JobRequestObject 

Parameters

targetStoreName
Type: System..::..String
The name of the store that will be create to hold the snapshot
persistenceType
Type: PersistenceType
The type of persitence to use for the store created by the snapshot
commitPointId
Type: System..::..UInt64
The ID of the commit point to copy data from
label (Optional)
Type: System..::..String
A user-friendly label for the job

Return Value

Type: JobRequestObject
A new JobRequestObject.

See Also