SoftadminSnippet.PostbackLink

 Show all Hide all

Generates a link when called from a snippet procedure. Clicking the link triggers the Link/Button Postback call for the snippet.

Example

DECLARE @LinkGuid uniqueidentifier;
EXEC SoftadminSnippet.DeclareLink
	@Action = N'Book',
	@LinkGuidOut = @LinkGuid OUTPUT;

SELECT SoftadminSnippet.PostbackLink(@LinkGuid, N'Book room', N'17', NULL) AS Html;

See also

Type: Scalar function
Area of use: API

Parameters:

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