arachnode.net

UserDefinedFunctions.ExtractIPAddress Method

Extracts the IP Address from an AbsoluteUri. e.g. http://192.168.1.1/logo.gif -> 192.168.1.1

[SqlFunction(IsDeterministic=False, DataAccess=DataAccessKind.None, SystemDataAccess=SystemDataAccessKind.None, IsPrecise=False, Name="null", TableDefinition="null", FillRowMethodName="null")]
public static SqlString ExtractIPAddress(
   SqlString absoluteUri
);

Parameters

absoluteUri
The absolute URI.

Return Value

See Also

UserDefinedFunctions Class | (global) Namespace