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,
	string label = null
)
Visual Basic
Public Shared Function CreateSnapshotJob ( 
	targetStoreName As String,
	persistenceType As PersistenceType,
	Optional label As String = Nothing
) As JobRequestObject
Visual C++
public:
static JobRequestObject^ CreateSnapshotJob(
	String^ targetStoreName, 
	PersistenceType persistenceType, 
	String^ label = nullptr
)
F#
static member CreateSnapshotJob : 
        targetStoreName : string * 
        persistenceType : PersistenceType * 
        ?label : string 
(* Defaults:
        let _label = defaultArg label null
*)
-> JobRequestObject 

Parameters

targetStoreName
Type: System..::..String
The name of the store that will be created to hold the snapshot
persistenceType
Type: PersistenceType
The type of persistence to use for the snapshot store
label (Optional)
Type: System..::..String
A user-friendly label for the job

Return Value

Type: JobRequestObject
A new JobRequestObject

See Also