Status.ConnectedToNetwork Property

[Status.ConnectedToNetwork is no longer available for use as of Windows Server 2012 Essentials.] Indicates whether the computer is connected to the network.

Namespace: Microsoft.WindowsServerSolutions.HomeGroup
Assembly: WSSHomeGroupObjectModel (in WSSHomeGroupObjectModel.dll)

Usage

'Usage
Dim instance As Status
Dim value As Boolean

value = instance.ConnectedToNetwork

Syntax

'Declaration
<DataMemberAttribute> _
Public Property ConnectedToNetwork As Boolean
[DataMemberAttribute] 
public bool ConnectedToNetwork { get; }
[DataMemberAttribute] 
public:
property bool ConnectedToNetwork {
    bool get ();
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public boolean get_ConnectedToNetwork ()
CompilerGeneratedAttribute 
public function get ConnectedToNetwork () : boolean

Property Value

true if the computer is connected to the network; otherwise false.

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 R2 x64, Windows 7 x64, Windows Server 2008 x64, Windows Vista x64

See Also

Reference

Status Class
Status Members
Microsoft.WindowsServerSolutions.HomeGroup Namespace

Copyright © 2012 by Microsoft Corporation. All rights reserved.