Share via


MDM_Firewall_PublicProfile02 類別

[某些資訊與發行前版本產品有關,在正式發行前可能會大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。]

MDM_Firewall_PublicProfile02 類別可用來設定Windows Defender防火牆設定。

下列語法是簡化自 MOF 程式碼,且包含所有繼承的屬性。

語法

[InPartition("local-system"), dynamic, provider("DMWmiBridgeProv1")]
class MDM_Firewall_PublicProfile02
{
  string InstanceID;
  string ParentID;
  sint32 EnableFirewall;
  sint32 DisableStealthMode;
  sint32 Shielded;
  sint32 DisableUnicastResponsesToMulticastBroadcast;
  sint32 DisableInboundNotifications;
  sint32 AuthAppsAllowUserPrefMerge;
  sint32 GlobalPortsAllowUserPrefMerge;
  sint32 AllowLocalPolicyMerge;
  sint32 AllowLocalIpsecPolicyMerge;
  sint32 DefaultOutboundAction;
  sint32 DefaultInboundAction;
  sint32 DisableStealthModeIpsecSecuredPacketExemption;
};

成員

MDM_Firewall_PublicProfile02類別具有下列類型的成員:

屬性

MDM_Firewall_PublicProfile02類別具有這些屬性。

AllowLocalIpsecPolicyMerge

資料類型: sint32

存取類型:讀取/寫入

AllowLocalPolicyMerge

資料類型: sint32

存取類型:讀取/寫入

AuthAppsAllowUserPrefMerge

資料類型: sint32

存取類型:讀取/寫入

DefaultInboundAction

資料類型: sint32

存取類型:讀取/寫入

DefaultOutboundAction

資料類型: sint32

存取類型:讀取/寫入

DisableInboundNotifications

資料類型: sint32

存取類型:讀取/寫入

DisableStealthMode

資料類型: sint32

存取類型:讀取/寫入

DisableStealthModeIpsecSecuredPacketExemption

資料類型: sint32

存取類型:讀取/寫入

DisableUnicastResponsesToMulticastBroadcast

資料類型: sint32

存取類型:讀取/寫入

EnableFirewall

資料類型: sint32

存取類型:讀取/寫入

GlobalPortsAllowUserPrefMerge

資料類型: sint32

存取類型:讀取/寫入

InstanceID

資料類型: 字串

存取類型:唯讀

限定詞: 索引鍵

ParentID

資料類型: 字串

存取類型:唯讀

限定詞: 索引鍵

受防護

資料類型: sint32

存取類型:讀取/寫入

規格需求

需求
最低支援的用戶端
Windows 10 [僅限傳統型應用程式]
最低支援的伺服器
都不支援
命名空間
Root\cimv2\mdm\dmmap
MOF
DMWmiBridgeProv1.mof
DLL
DMWmiBridgeProv.dll