QuickLinkCreator.GetLink method (String, String)
Returns the JavaScript used to submit the form to create the quick link with the specified ID and type parameters.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Shared Function GetLink ( _
strGuid As String, _
strType As String _
) As String
'Usage
Dim strGuid As String
Dim strType As String
Dim returnValue As String
returnValue = QuickLinkCreator.GetLink(strGuid, _
strType)
public static string GetLink(
string strGuid,
string strType
)
Parameters
strGuid
Type: System.StringThe String object that represents the ID of the quick link.
strType
Type: System.StringThe String object that represents the type of 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 user clicks a link. The returned JavaScript saves the ID and type in hidden fields, and then submits the form to create the quick link.