QuickLinkCreator.GetClientLink method (Object, String, String, String, String)

Returns the JavaScript used to submit the form to create the quick link with the specified ID, title, URL, type and the JavaScript function that is called when the user clicks the quick link.

Namespace:  Microsoft.Office.Server.WebControls
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Shared Function GetClientLink ( _
    objID As Object, _
    strTitle As String, _
    strClientGetScript As String, _
    strType As String, _
    strRedirectScript As String _
) As String
'Usage
Dim objID As Object
Dim strTitle As String
Dim strClientGetScript As String
Dim strType As String
Dim strRedirectScript As String
Dim returnValue As String

returnValue = QuickLinkCreator.GetClientLink(objID, _
    strTitle, strClientGetScript, strType, _
    strRedirectScript)
public static string GetClientLink(
    Object objID,
    string strTitle,
    string strClientGetScript,
    string strType,
    string strRedirectScript
)

Parameters

  • strClientGetScript
    Type: System.String

    The String that represents the URL to which the quick link redirects.

  • strRedirectScript
    Type: System.String

    The String object that represents the JavaScript function that is called when the user clicks the quick link.

Return value

Type: System.String
The String object that represents the JavaScript function used to submit the form to create the quick link.

Remarks

This method returns the JavaScript used to create the quick link when the user clicks a link. The returned JavaScript stores the ID, title, URL, type and the JavaScript function that is called when the user clicks the quick link in hidden fields, and then submits the form to create the quick link.

See also

Reference

QuickLinkCreator class

QuickLinkCreator members

GetClientLink overload

Microsoft.Office.Server.WebControls namespace