你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Kusto Data library overview
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer
The Kusto Data library provides a client for querying and managing data in your database.
Get the library
Select the tab for your preferred language.
Install Microsoft.Azure.Kusto.Data.
Connect to your database
The Kusto Data library provides a Kusto client object to help you connect to your database. This object accepts a Kusto connection string builder object as input, which is used to define the URI and authentication mode. For an example, see Create your first Kusto client app.
Run queries and commands
The Kusto Data library can be used to run Kusto Query Language (KQL) queries or T-SQL queries from your own client application. For an example, see Create an app to run basic queries.
You can also run management commands. These commands are requests made to the service to retrieve or modify information that may not necessarily reside within the database tables, such as policies or security roles. For an example, see Create an app to run management commands.