Gets the network name of the computer. The IP address or DNS name will be set to this property to use it for IP connectivity to the computer. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ComputerHealthService
Dim value As String

value = instance.NetworkName

Syntax

Visual Basic
Public ReadOnly Property NetworkName As String
C#
public string NetworkName { get; }
C++
public:
property String^ NetworkName {
		String^ get ();
}
J#
/** @property */
public String get_NetworkName ()
JScript
public function get NetworkName () : String

Property Value

A string that contains the network name of the computer.

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

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also