Microsoft graph api 使用GraphServiceClient在SharePoint Online中的站点级搜索操作

Microsoft graph api 使用GraphServiceClient在SharePoint Online中的站点级搜索操作,microsoft-graph-api,sharepoint-online,Microsoft Graph Api,Sharepoint Online,我可以使用以下代码在SharePoint Online的文档库中搜索: GraphServiceClient graphClient = new GraphServiceClient( "https://graph.microsoft.com/v1.0", new DelegateAuthenticationProvider(async (requestMessage) => { await Task.Run(() => { });

我可以使用以下代码在SharePoint Online的文档库中搜索:

GraphServiceClient graphClient = new GraphServiceClient(
    "https://graph.microsoft.com/v1.0",
    new DelegateAuthenticationProvider(async (requestMessage) => {
            await Task.Run(() => { }); 
            requestMessage.Headers.Authorization = 
              new AuthenticationHeaderValue("bearer", accessToken);
        }));

var ddd = await client.Sites["SiteUrl"].Drives["DriveId"].Search("srchTxt").Request().GetAsync();
然而,我并没有找到像这样的网站的搜索方法

var ddd=wait client.Sites[“SiteUrl”].Search(“srchxt”).Request().GetAsync()


是否可以使用GraphServiceClient在SharePoint Online的网站中进行搜索?

目前,没有。SharePoint目前仅提供文档库搜索(via)


我强烈建议将此建议发布到。我可以证明这个用户语音站点在Office的工程路线图和功能规划中的重要性

目前没有。SharePoint目前只提供文档库搜索(via)

我强烈建议将此建议发布到。我可以证明这个用户语音站点在Office的工程路线图和功能规划中的重要性