Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFCase.CreateTemporary Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFCase.CreateTemporary Method
This method creates a temporary case from the current case.

Namespace:  OSIsoft.AF.Analysis
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFCase CreateTemporary()
Public Function CreateTemporary As AFCase

Dim instance As AFCase
Dim returnValue As AFCase

returnValue = instance.CreateTemporary()
public:
AFCase^ CreateTemporary()
member CreateTemporary : unit -> AFCase 

Return Value

Type: AFCase
Returns the newly created temporary case.

Remarks

A temporary case is created by copying the current case, including the results, to the newly created case. The temporary case can be modified just like any other case, but the case cannot be saved. The case's result values are allowed to be published. A temporary case cannot be used to create another temporary case and it will not be returned by any of the FindCases Overload methods.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in