IClusCfgNetworkInfo::SetPublic method

[This method is available for use only in Windows Server 2003.]

Sets the public property of a network interface. The change will not take effect until the configuration has been committed.

Syntax

HRESULT SetPublic(
  [in] BOOL fIsPublicIn
);

Parameters

  • fIsPublicIn [in]
    Determines if the network interface is public. If TRUE, the interface will be marked to be a public interface. If FALSE the interface will be marked as not a public interface.

Return value

If the method successfully sets the public property, it returns S_OK.

Any other HRESULT value indicates that the call failed.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

End of server support

Windows Server 2003

IDL

ClusCfgServer.idl

DLL

ClCfgSrv.dll

IID

IID_IClusCfgNetworkInfo is defined as 19FC7580-950A-44A6-966E-74B14B20918F

See also

IClusCfgNetworkInfo