Share via


IPPermission.Check method

When overridden in a derived class, the Check method determines whether the specified IP address is on the Allow list, the Deny list, or neither list.

Namespace:  Microsoft.Exchange.Data.Transport
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride Function Check ( _
    ipAddress As IPAddress _
) As PermissionCheckResults
'Usage
Dim instance As IPPermission
Dim ipAddress As IPAddress
Dim returnValue As PermissionCheckResults

returnValue = instance.Check(ipAddress)
public abstract PermissionCheckResults Check(
    IPAddress ipAddress
)

Parameters

Return value

Type: Microsoft.Exchange.Data.Transport.PermissionCheckResults
The Check method returns one of the valid PermissionCheckResults enumeration values.

See also

Reference

IPPermission class

IPPermission members

Microsoft.Exchange.Data.Transport namespace