/// <summary>
 /// Gets the dataset metadata for the specifeid dataset id
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupId'>
 /// The group id
 /// </param>
 /// <param name='datasetKey'>
 /// The dataset id
 /// </param>
 public static Dataset GetDatasetById(this IDatasets operations, string groupId, string datasetKey)
 {
     return(operations.GetDatasetByIdAsync(groupId, datasetKey).GetAwaiter().GetResult());
 }
Esempio n. 2
0
 /// <summary>
 /// Gets the dataset metadata for the specifeid dataset id
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='collectionName'>
 /// The workspace collection name
 /// </param>
 /// <param name='workspaceId'>
 /// The workspace id
 /// </param>
 /// <param name='datasetKey'>
 /// The dataset id
 /// </param>
 public static Dataset GetDatasetById(this IDatasets operations, string collectionName, string workspaceId, string datasetKey)
 {
     return(operations.GetDatasetByIdAsync(collectionName, workspaceId, datasetKey).GetAwaiter().GetResult());
 }