Show all Hide all

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


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

Type: Scalar function
Area of use: API


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