GraphExtensions.GetExtension(GraphServiceClient, String, String) Method
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.
Retrieve an extension object for a user.
public static System.Threading.Tasks.Task<Microsoft.Graph.Extension> GetExtension(this Microsoft.Graph.GraphServiceClient graph, string userId, string extensionId);
static member GetExtension : Microsoft.Graph.GraphServiceClient * string * string -> System.Threading.Tasks.Task<Microsoft.Graph.Extension>
<Extension()>
Public Function GetExtension (graph As GraphServiceClient, userId As String, extensionId As String) As Task(Of Extension)
Parameters
- graph
- Microsoft.Graph.GraphServiceClient
Instance of the Microsoft.Graph.GraphServiceClient.
- userId
- String
The user to access.
- extensionId
- String
The extension to retrieve.
Returns
The extension result.