Class TerminalServerSettingSources
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the sources of the various terminal service configuration settings which determines whether they have come from the Server, Group Policy or are a default setting.
public class TerminalServerSettingSources : GlobalSerializableClassicBase
- Inheritance
-
TerminalServerSettingSources
Constructors
TerminalServerSettingSources()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.TerminalServerSettingSources class.
public TerminalServerSettingSources()
Properties
Items
Gets or sets the items within the collection
public TerminalServerSettingSourceCollection Items { get; set; }
Property Value
Methods
AddSource(string, TerminalServerPolicySourceType)
Adds a new setting source to the collection. If an existing property name is used an exception is thrown.
public void AddSource(string PropertyName, TerminalServerPolicySourceType SourceType)
Parameters
PropertyName
stringThe name of the property for which a source is being configured.
SourceType
TerminalServerPolicySourceTypeThe type of source being configured - for example "Group Policy".
Exists(string)
Determines if the configuration source of the setting with the specified property name exists in the collection.
public bool Exists(string PropertyName)
Parameters
PropertyName
stringThe name of the property to locate.
Returns
FindByName(string)
Returns the source of the setting with the specified name. If a setting source with the specified property name is not found, null is returned.
public TerminalServerSettingSource FindByName(string PropertyName)
Parameters
PropertyName
stringThe name of the property to locate.
Returns
- TerminalServerSettingSource
The CENTREL.XIA.Configuration.Types.TerminalServerSettingSource with the specified property name, or null if no source with the specified property name is found.