Table of Contents

Class MicrosoftNlbClusterHosts

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the hosts configured for a Microsoft network load balancing cluster.

public class MicrosoftNlbClusterHosts : BaseTypeSection
Inheritance
MicrosoftNlbClusterHosts

Constructors

MicrosoftNlbClusterHosts()

Intializes a new instance of the CENTREL.XIA.Configuration.Types.MicrosoftNlbClusterHosts class.

public MicrosoftNlbClusterHosts()

Properties

Items

Gets or sets the items in the collection.

public MicrosoftNlbClusterHostCollection Items { get; set; }

Property Value

MicrosoftNlbClusterHostCollection

Methods

Exists(string)

Determines whether a cluster host with the specified name exists in the collection.

public bool Exists(string Name)

Parameters

Name string

The name of the host - for example "CORP-WEB01".

Returns

bool

A System.Boolean value that indicates whether a host with the specified name exists in the collection.

FindByName(string)

Finds the Microsoft network load balancing cluster host with the specified name.

public MicrosoftNlbClusterHost FindByName(string Name)

Parameters

Name string

The name of the host - for example "CORP-WEB01".

Returns

MicrosoftNlbClusterHost

The CENTREL.XIA.Configuration.Types.MicrosoftNlbClusterHost with the specified name, or null if no host with that name is found.

FindByNodeName(string)

Finds the Microsoft network load balancing cluster host with the specified node name.

public MicrosoftNlbClusterHost FindByNodeName(string NodeName)

Parameters

NodeName string

The node name of the host - for example "192.168.1.1:2".

Returns

MicrosoftNlbClusterHost

The CENTREL.XIA.Configuration.Types.MicrosoftNlbClusterHost with the specified node name, or null if no host with that name is found.

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.MicrosoftNlbClusterHosts class from the specified Xml.

public static MicrosoftNlbClusterHosts FromXml(string Xml)

Parameters

Xml string

The XML representation of the CENTREL.XIA.Configuration.Types.MicrosoftNlbClusterHosts object

Returns

MicrosoftNlbClusterHosts

A CENTREL.XIA.Configuration.Types.MicrosoftNlbClusterHosts class from the specified Xml.

ToString()

Returns the hosts as a human readable string.

public override string ToString()

Returns

string

The hosts as a human readable string.