SearchCredentials Constructor

Initializes a new instance of the SearchCredentials class.

Namespace: Microsoft.Azure.Search
Assembly: Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)

Usage

'Usage
Dim apiKey As String

Dim instance As New SearchCredentials(apiKey)

Syntax

'Declaration
Public Sub New ( _
    apiKey As String _
)
public SearchCredentials (
    string apiKey
)
public:
SearchCredentials (
    String^ apiKey
)
public SearchCredentials (
    String apiKey
)
public function SearchCredentials (
    apiKey : String
)

Parameters

  • apiKey
    api-key used to authenticate to the Azure Search service.

Remarks

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

SearchCredentials Class
SearchCredentials Members
Microsoft.Azure.Search Namespace