SoftadminSnippet.PageLink

Type: Scalar function

Generates a clickable link to the specified URL, when called from a snippet procedure.

Example

DECLARE @LinkGuid uniqueidentifier;
EXEC SoftadminSnippet.DeclareLink
	@LinkGuidOut = @LinkGuid OUTPUT;

DECLARE @Path nvarchar(MAX) = SoftadminSnippet.PathPattern('mysite', 'LogIn');

SELECT SoftadminSnippet.PageLink(@LinkGuid, N'Example', @Path, NULL) AS Html;

See also

Parameters

@LinkGuid mandatory uniqueidentifier
@Html mandatory nvarchar
@Url mandatory nvarchar
@CssClass mandatory varchar