Class NodeElement
Represents the node configuration.
Namespace: Nevatech.Vsb.Repository.Configuration
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class NodeElement : ConfigurationElement
Constructors
NodeElement()
Declaration
public NodeElement()
Fields
CacheFolderNameAttributeName
Name of the attribute representing CacheFolderName property in the node element.
Declaration
public const string CacheFolderNameAttributeName = "cacheFolderName"
Field Value
Type | Description |
---|---|
String |
EncryptCacheAttributeName
Name of the attribute representing EncryptCache property in the node element.
Declaration
public const string EncryptCacheAttributeName = "encryptCache"
Field Value
Type | Description |
---|---|
String |
InstanceAttributeName
Name of the attribute representing Instance property in the node element.
Declaration
public const string InstanceAttributeName = "instance"
Field Value
Type | Description |
---|---|
String |
IsAutonomousAttributeName
Name of the attribute representing IsAutonomous property in the node element.
Declaration
public const string IsAutonomousAttributeName = "autonomous"
Field Value
Type | Description |
---|---|
String |
KeyAttributeName
Name of the attribute representing Key property in the node element.
Declaration
public const string KeyAttributeName = "key"
Field Value
Type | Description |
---|---|
String |
Properties
CacheFolderName
Gets or sets the name of the sub-folder used to store node's configuration cache. If not set then node's key is used as the folder name.
Declaration
public string CacheFolderName { get; set; }
Property Value
Type | Description |
---|---|
String |
EncryptCache
Gets or sets flag indicating that node configuration cache file needs to be encrypted.
Declaration
public bool EncryptCache { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Instance
Gets or sets the node instance name. If not set then instance name is assigned automatially.
Declaration
public string Instance { get; set; }
Property Value
Type | Description |
---|---|
String |
IsAutonomous
Gets or sets flag indicating that node runs in disconnected mode without communicating with Respository Service. If it is set to true, the node uses its cached configuration and drops collected monitoring data.
Declaration
public bool IsAutonomous { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Key
Gets or sets the node key. This property is required.
Declaration
public Guid Key { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Properties
Gets collection of configuration element properties.
Declaration
protected override ConfigurationPropertyCollection Properties { get; }
Property Value
Type | Description |
---|---|
ConfigurationPropertyCollection |