Esempio n. 1
0
        public async Task <LinkedServiceListResponse> ListNextAsync(string nextLink, CancellationToken cancellationToken)
        {
            // Validate
            Ensure.IsNotNull(nextLink, "nextLink");

            Core.Models.LinkedServiceListResponse response =
                await this.Client.InternalClient.LinkedServices.ListNextAsync(nextLink, cancellationToken);

            return(new LinkedServiceListResponse(response, this.Client));
        }
Esempio n. 2
0
        public async Task <LinkedServiceListResponse> ListAsync(
            string resourceGroupName,
            string dataFactoryName,
            CancellationToken cancellationToken)
        {
            Core.Models.LinkedServiceListResponse response =
                await this.Client.InternalClient.LinkedServices.ListAsync(
                    resourceGroupName,
                    dataFactoryName,
                    cancellationToken);

            return(new LinkedServiceListResponse(response, this.Client));
        }