MetadataExtensions.GetGlobalOptionSetMetadata(ServiceClient, 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.
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