INetFwRule::get_Name method

Specifies the friendly name of this rule.

This property is read/write.

Syntax

HRESULT get_Name(
  BSTR *name
);

Parameters

name

Return Value

None

Remarks

This property is required. The string must not contain the "|" character.

Also see the restrictions on changing properties described in the Remarks section of the INetFwRule interface page.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header netfw.h
DLL FirewallAPI.dll

See Also

INetFwRule