Skip to content
DocsTry Aspire
DocsTry

SharePointToolResource Constructors

ClassConstructors1 member
A Foundry tool resource that grounds an agent's responses using SharePoint data.
Constructor(string, AzureCognitiveServicesProjectResource, string[])Section titled Constructor(string, AzureCognitiveServicesProjectResource, string[])
Creates a new instance of the SharePointToolResource class.
public sealed class SharePointToolResource
{
public SharePointToolResource(
string name,
AzureCognitiveServicesProjectResource project,
params string[] projectConnectionIds)
{
// ...
}
}
namestringThe name of the tool resource.
projectAzureCognitiveServicesProjectResourceThe parent Foundry project resource.
projectConnectionIdsstring[]The Foundry project connection IDs for the SharePoint sites.