Class MicrosoftFailoverClusterParameterCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of parameters defined for an object in a Microsoft failover cluster.
public class MicrosoftFailoverClusterParameterCollection : Collection<MicrosoftFailoverClusterParameterBase>, IList<MicrosoftFailoverClusterParameterBase>, ICollection<MicrosoftFailoverClusterParameterBase>, IList, ICollection, IReadOnlyList<MicrosoftFailoverClusterParameterBase>, IReadOnlyCollection<MicrosoftFailoverClusterParameterBase>, IEnumerable<MicrosoftFailoverClusterParameterBase>, IEnumerable
- Inheritance
-
MicrosoftFailoverClusterParameterCollection
- Implements
- Inherited Members
Constructors
MicrosoftFailoverClusterParameterCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterParameterCollection class.
public MicrosoftFailoverClusterParameterCollection()
Methods
ExistsByName(string)
Returns a System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterParameter with the specified name exists within the collection.
public bool ExistsByName(string name)
Parameters
name
stringThe name of the CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterParameter to locate.
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterParameter with the specified name exists within the collection.
FindByName(string)
Returns the CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterParameter with the specified name, or null if no CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterParameter with that name is found.
public MicrosoftFailoverClusterParameterBase FindByName(string name)
Parameters
name
stringThe name of the CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterParameter to locate.
Returns
- MicrosoftFailoverClusterParameterBase
The CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterParameter with the specified name.
GetBooleanValue(string)
Gets the boolean value of the specified parameter.
public BooleanOption GetBooleanValue(string name)
Parameters
name
stringThe name of the parameter.
Returns
- BooleanOption
The CENTREL.XIA.Configuration.Types.BooleanOption value of the specified parameter.
GetBooleanValue(string, bool)
Gets the boolean value of the specified parameter.
public BooleanOption GetBooleanValue(string name, bool allowNullValues)
Parameters
name
stringThe name of the parameter.
allowNullValues
boolDetermines whether to allow null or missing values returned as BooleanOption.Unknown.
Returns
- BooleanOption
The CENTREL.XIA.Configuration.Types.BooleanOption value of the specified parameter.
GetDateTimeValue(string)
Gets the System.DateTime value of the specified parameter.
public DateTime GetDateTimeValue(string name)
Parameters
name
stringThe name of the parameter.
Returns
- DateTime
The System.DateTime value of the specified parameter.
GetDateTimeValue(string, bool)
Gets the System.DateTime value of the specified parameter.
public DateTime GetDateTimeValue(string name, bool allowNullValues)
Parameters
name
stringThe name of the parameter.
allowNullValues
boolDetermines whether to allow null or missing values returned as DateTime.MinValue.
Returns
- DateTime
The System.DateTime value of the specified parameter.
GetParameterDisplayValue(string)
Gets the display value of the specified parameter, or String.Empty if the parameter doesn't exist within the collection.
public string GetParameterDisplayValue(string name)
Parameters
name
stringThe name of the parameter.
Returns
- string
The display value of the specified parameter.
GetStringValue(string)
Gets the string value of the specified parameter.
public string GetStringValue(string name)
Parameters
name
stringThe name of the parameter.
Returns
- string
The System.String value of the specified parameter.
GetStringValue(string, bool)
Gets the string value of the specified parameter.
public string GetStringValue(string name, bool allowNullValues)
Parameters
name
stringThe name of the parameter.
allowNullValues
boolDetermines whether to allow null or missing values returned as String.Empty.
Returns
- string
The System.String value of the specified parameter.
GetUInt32Value(string)
Gets the 32-bit unsigned integer value of the specified parameter.
public uint GetUInt32Value(string name)
Parameters
name
stringThe name of the parameter.
Returns
- uint
The System.UInt32 value of the specified parameter.
GetUInt32Value(string, bool)
Gets the 32-bit unsigned integer value of the specified parameter.
public uint GetUInt32Value(string name, bool allowNullValues)
Parameters
name
stringThe name of the parameter.
allowNullValues
boolDetermines whether to allow null or missing values returned as 0.
Returns
- uint
The System.UInt32 value of the specified parameter.
GetUInt64Value(string)
Gets the 64-bit unsigned integer value of the specified parameter.
public ulong GetUInt64Value(string name)
Parameters
name
stringThe name of the parameter.
Returns
- ulong
The System.UInt64 value of the specified parameter.
GetUInt64Value(string, bool)
Gets the 64-bit unsigned integer value of the specified parameter.
public ulong GetUInt64Value(string name, bool allowNullValues)
Parameters
name
stringThe name of the parameter.
allowNullValues
boolDetermines whether to allow null or missing values returned as 0.
Returns
- ulong
The System.UInt64 value of the specified parameter.
Sort()
Sorts the values in the collection.
public void Sort()