MeasurementKeyTryCreateOrUpdate(Guid, String, MeasurementKey) Method
Namespace: Gemstone.TimeseriesAssembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.153 -- Release Build+2ac7a48d4209b98f9747910ba7b519b359a1c238
public static bool TryCreateOrUpdate(
Guid signalID,
string value,
out MeasurementKey key
)
Public Shared Function TryCreateOrUpdate (
signalID As Guid,
value As String,
<OutAttribute> ByRef key As MeasurementKey
) As Boolean
public:
static bool TryCreateOrUpdate(
Guid signalID,
String^ value,
[OutAttribute] MeasurementKey^% key
)
Gemstone.Timeseries.MeasurementKey.TryCreateOrUpdate = function(signalID, value, key);
- signalID Guid
- Guid ID of associated signal, if defined.
- value String
- A string representation of the MeasurementKey.
- 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 | Measurement key Source cannot be null. |