|
DataSubscriberSubscribe(Boolean, Boolean, String) Method
|
Subscribes (or re-subscribes) to a data publisher for a set of data points.
Namespace: GSF.TimeSeries.TransportAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.218-beta
Syntax public virtual bool Subscribe(
bool remotelySynchronized,
bool compactFormat,
string connectionString
)
Public Overridable Function Subscribe (
remotelySynchronized As Boolean,
compactFormat As Boolean,
connectionString As String
) As Boolean
public:
virtual bool Subscribe(
bool remotelySynchronized,
bool compactFormat,
String^ connectionString
)
abstract Subscribe :
remotelySynchronized : bool *
compactFormat : bool *
connectionString : string -> bool
override Subscribe :
remotelySynchronized : bool *
compactFormat : bool *
connectionString : string -> bool
function Subscribe(remotelySynchronized, compactFormat, connectionString);
View SourceParameters
- remotelySynchronized Boolean
- Boolean value that determines if subscription should be remotely synchronized - note that data publisher may not allow remote synchronization.
- compactFormat Boolean
- Boolean value that determines if the compact measurement format should be used. Set to false for full fidelity measurement serialization; otherwise set to true for bandwidth conservation.
- connectionString String
- Connection string that defines required and optional parameters for the subscription.
Return Value
Booleantrue if subscribe transmission was successful; otherwise
false.
See Also