SearchCredentials.ApiKey Property

api-key used to authenticate to an Azure Search service. Can be either a query key for querying only, or an admin key that enables index and document management as well.

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

Usage

'Usage
Dim instance As SearchCredentials
Dim value As String

value = instance.ApiKey

Syntax

'Declaration
Public Property ApiKey As String
public string ApiKey { get; }
public:
property String^ ApiKey {
    String^ get ();
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public String get_ApiKey ()
CompilerGeneratedAttribute 
public function get ApiKey () : String

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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