HostDistributionRule.HostName Property
Gets or sets the host name of the HostDistributionRule.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Property HostName As String
Get
Set
'Usage
Dim instance As HostDistributionRule
Dim value As String
value = instance.HostName
instance.HostName = value
public string HostName { get; set; }
Property Value
Type: System.String
The host name of the HostDistributionRule.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeExcpetion | The HostName is null . -or- The HostName is an empty string. -or- The HostName is a string that exceeds 250 characters. |