/// <summary> /// Gets a list of bound gateway datasources for the specified dataset /// </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 ODataResponseListGatewayDatasource GetGatewayDatasources(this IDatasets operations, string groupId, string datasetKey) { return(operations.GetGatewayDatasourcesAsync(groupId, datasetKey).GetAwaiter().GetResult()); }
/// <summary> /// Gets a list of bound gateway datasources for the specified dataset /// </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 ODataResponseListGatewayDatasource GetGatewayDatasources(this IDatasets operations, string collectionName, string workspaceId, string datasetKey) { return(operations.GetGatewayDatasourcesAsync(collectionName, workspaceId, datasetKey).GetAwaiter().GetResult()); }