OneDriveConnector Class

Definition

Connector for OneDrive API

public class OneDriveConnector : Microsoft.SemanticKernel.Plugins.MsGraph.ICloudDriveConnector
type OneDriveConnector = class
    interface ICloudDriveConnector
Public Class OneDriveConnector
Implements ICloudDriveConnector
Inheritance
OneDriveConnector
Implements

Constructors

OneDriveConnector(GraphServiceClient)

Initializes a new instance of the OneDriveConnector class.

Methods

CreateShareLinkAsync(String, String, String, CancellationToken)

Create a shareable link to a file.

FileExistsAsync(String, CancellationToken)

Checks if a file exists at the specified path in OneDrive.

GetFileContentStreamAsync(String, CancellationToken)

Get the content of a file.

UploadSmallFileAsync(String, String, CancellationToken)

Upload a small file (less than 4MB).

Applies to