Class OneStreamFileSystemConnectionContext
A concrete implementation of the Workspace.XBR.Xperiflow.Etl.IConnectionContext interface that is used to connect to a OneStream file system.
Namespace: Workspace.XBR.Xperiflow.Etl
Assembly: Xperiflow.dll
public class OneStreamFileSystemConnectionContext : IConnectionContext
Implements: Workspace.XBR.Xperiflow.Etl.IConnectionContext
Properties
FileSystemLocation
An enum representing the OneStream file system location (i.e., Application Database, System Database, Fileshare)
[JsonPropertyName("fileSystemLocation")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public FileSystemLocation FileSystemLocation { get; set; }
Methods
ToJson()
Serializes the Workspace.XBR.Xperiflow.Etl.OneStreamFileSystemConnectionContext object to a JSON string.
public string ToJson()
Returns
System.String
A serialized representation of the OneStreamFileSystemConnectionContext
FromJson(string)
Deserializes a JSON string to a Workspace.XBR.Xperiflow.Etl.OneStreamFileSystemConnectionContext object.
public static OneStreamFileSystemConnectionContext FromJson(string data)
Returns
Workspace.XBR.Xperiflow.Etl.OneStreamFileSystemConnectionContext
A Workspace.XBR.Xperiflow.Etl.OneStreamFileSystemConnectionContext
Parameters
| Type | Name | Description |
|---|---|---|
System.String | data | The JSON string representation of the OneStreamFileSystemConnectionContext |
Exceptions
System.Text.Json.JsonException
Implements
Inherited Members
System.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString