MetadataExtensions.GetGlobalOptionSetMetadata(ServiceClient, String) Method

Definition

Gets a global option set from Dataverse.

public static Microsoft.Xrm.Sdk.Metadata.OptionSetMetadata GetGlobalOptionSetMetadata (this Microsoft.PowerPlatform.Dataverse.Client.ServiceClient serviceClient, string globalOptionSetName);
static member GetGlobalOptionSetMetadata : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * string -> Microsoft.Xrm.Sdk.Metadata.OptionSetMetadata
<Extension()>
Public Function GetGlobalOptionSetMetadata (serviceClient As ServiceClient, globalOptionSetName As String) As OptionSetMetadata

Parameters

serviceClient
ServiceClient

ServiceClient

globalOptionSetName
String

Name of the Option Set To get

Returns

OptionSetMetadata or null

Applies to