DomainController::IPAddress Property

 

Gets the IP address of this domain controller.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public:
property String^ IPAddress {
	[DirectoryServicesPermissionAttribute(SecurityAction::LinkDemand, 
		Unrestricted = true)]
	[DirectoryServicesPermissionAttribute(SecurityAction::InheritanceDemand, 
		Unrestricted = true)]
	[DnsPermissionAttribute(SecurityAction::Assert, Unrestricted = true)]
	virtual String^ get() override;
}

Property Value

Type: System::String^

The Internet protocol (IP) address of this domain controller in string form.

Exception Condition
ObjectDisposedException

The current object has been disposed.

.NET Framework
Available since 2.0
Return to top
Show: