MeasurementKeyTryCreateOrUpdate(Guid, String, UInt64, MeasurementKey) Method
Namespace: Gemstone.TimeseriesAssembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.136 -- Release Build+045677775a56d15698be6ced5ce5213063e47102
public static bool TryCreateOrUpdate(
Guid signalID,
string source,
ulong id,
out MeasurementKey key
)
Public Shared Function TryCreateOrUpdate (
signalID As Guid,
source As String,
id As ULong,
<OutAttribute> ByRef key As MeasurementKey
) As Boolean
public:
static bool TryCreateOrUpdate(
Guid signalID,
String^ source,
unsigned long long id,
[OutAttribute] MeasurementKey^% key
)
Gemstone.Timeseries.MeasurementKey.TryCreateOrUpdate = function(signalID, source, id, key);
- signalID Guid
- Guid ID of associated signal, if defined.
- source String
- Source of the measurement that this MeasurementKey represents (e.g., name of archive).
- id UInt64
- Numeric ID of the measurement that this MeasurementKey represents.
- key MeasurementKey
- The measurement key that was created or updated or Undefined.
BooleanTrue if the measurement key was successfully created or updated, false otherwise.
ArgumentException | signalID cannot be empty. |
ArgumentNullException | source cannot be null. |