ClientInfo.DnsName Property
Gets or sets the fully-qualified DNS name of the client.
Namespace: Microsoft.UpdateServices.ClientServicing
Assembly: Microsoft.UpdateServices.ClientServicing (in Microsoft.UpdateServices.ClientServicing.dll)
Usage
Syntax
'Declaration
Public Property DnsName As String
public string DnsName { get; set; }
public:
property String^ DnsName {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_DnsName ()
/** @property */
public void set_DnsName (String value)
public function get DnsName () : String
public function set DnsName (value : String)
Property Value
The fully-qualified DNS name of the client.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The value is null. |
ArgumentOutOfRangeException | The value is too long (greater than 255 characters). |
ArgumentException | The value contains illegal characters. |
Remarks
The maximum length of this string is 255 characters.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Target Platforms
Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
See Also
Reference
ClientInfo Class
ClientInfo Members
Microsoft.UpdateServices.ClientServicing Namespace