Share via


FormsCredentials Constructor (String, Dictionary<String, String>)

Initializes a new instance of the FormsCredentials class with the logon page URL and a dictionary object containing the input values passed in the logon request.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Sub New ( _
    formsPage As String, _
    pairs As Dictionary(Of String, String) _
)
'Usage
Dim formsPage As String
Dim pairs As Dictionary(Of String, String)

Dim instance As New FormsCredentials(formsPage, _
    pairs)
public FormsCredentials(
    string formsPage,
    Dictionary<string, string> pairs
)

Parameters

  • formsPage
    Type: System.String

    A string containing the logon page URL.

See Also

Reference

FormsCredentials Class

FormsCredentials Members

FormsCredentials Overload

Microsoft.Office.Server.Search.Query Namespace