OneDriveConnector Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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). |