Condividi tramite


IDtcNetworkAccessConfig::SetNetworkAdministrationAccess

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The SetNetworkAdministrationAccess method sets a Boolean value for the object's network administration privileges. Do not set this parameter to TRUE unless you have determined that the current context has network administration privileges.

Syntax

  
HRESULT SetNetworkAdministrationAccess ( BOOL bNetworkAdministrationAccess);  

Parameters

bNetworkAdministrationAccess
[in] TRUE if the object has network administration privileges; otherwise FALSE.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

S_OK
Method completed successfully.

Requirements

For an explanation of the requirement values, see Requirements (Component Services).

Platforms: Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista

Header: Declared in TxCoord.h