Retrieves the specified connection security rule.
Syntax
uint32 Find(
[in] string LocalAddress,
[in] string RemoteAddress,
[in] string Protocol,
[in] uint16 LocalPort,
[in] uint16 RemotePort,
[out] MSFT_NetConSecRule CmdletOutput[]
);
Parameters
LocalAddress [in]
The local address specified in the rule.
RemoteAddress [in]
The remote address specified in the rule.
Protocol [in]
The protocol of the rule.
LocalPort [in]
The local port specified in the rule.
RemotePort [in]
The remote port specified in the rule.
CmdletOutput [out]
The MSFT_NetConSecRule object that receives the retrieved rule.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8.1 |
| Minimum supported server | Windows Server 2012 R2 |
| Namespace | Root\standardcimv2 |
| MOF | WFasCim.Mof |
| DLL | WFasCim.dll |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors (upstream author metadata: windowssdkdev). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
