arachnode.net

UserDefinedFunctions.ExtractResponseHeader Method

Extracts the specified ResponseHeader from the ResponseHeaders. e.g. 'Cache-Control: no-cache Content-Type: text/html; charset=iso-8859-1' -> text/html or 'Cache-Control: no-cache Content-Type: text/html; charset=iso-8859-1' -> text/html; charset=iso-8859-1

[SqlFunction(IsDeterministic=False, DataAccess=DataAccessKind.None, SystemDataAccess=SystemDataAccessKind.None, IsPrecise=False, Name="null", TableDefinition="null", FillRowMethodName="null")]
public static SqlString ExtractResponseHeader(
   SqlString responseHeaders,
   SqlString responseHeader,
   SqlBoolean includeParameters
);

Parameters

responseHeaders
The ResponseHeaders to parse.
responseHeader
The ResponseHeader value to extract.
includeParameters
Should parameters occuring after semicolons be included?

Return Value

A ResponseHeader value.

See Also

UserDefinedFunctions Class | (global) Namespace