arachnode.net

UserDefinedFunctions.ExtractDomain Method

Extracts the Domain from an AbsoluteUri. e.g. http://subdomain.arachnode.net/ -> arachnode.net

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

Parameters

absoluteUri
The absolute URI.

Return Value

See Also

UserDefinedFunctions Class | (global) Namespace