예제 #1
0
        /// <summary>Snippet for UpdateConnectionCredentialAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task UpdateConnectionCredentialAsync()
        {
            // Create client
            ConnectionServiceClient connectionServiceClient = await ConnectionServiceClient.CreateAsync();

            // Initialize request argument(s)
            string name = "";
            ConnectionCredential credential = new ConnectionCredential();
            // Make the request
            await connectionServiceClient.UpdateConnectionCredentialAsync(name, credential);
        }
예제 #2
0
        /// <summary>Snippet for UpdateConnectionCredentialAsync</summary>
        /// <remarks>
        /// This snippet has been automatically generated for illustrative purposes only.
        /// It may require modifications to work in your environment.
        /// </remarks>
        public async Task UpdateConnectionCredentialRequestObjectAsync()
        {
            // Create client
            ConnectionServiceClient connectionServiceClient = await ConnectionServiceClient.CreateAsync();

            // Initialize request argument(s)
            UpdateConnectionCredentialRequest request = new UpdateConnectionCredentialRequest
            {
                Name       = "",
                Credential = new ConnectionCredential(),
            };
            // Make the request
            await connectionServiceClient.UpdateConnectionCredentialAsync(request);
        }
        /// <summary>Snippet for UpdateConnectionCredentialAsync</summary>
        public async Task UpdateConnectionCredentialAsync()
        {
            // Snippet: UpdateConnectionCredentialAsync(string, ConnectionCredential, CallSettings)
            // Additional: UpdateConnectionCredentialAsync(string, ConnectionCredential, CancellationToken)
            // Create client
            ConnectionServiceClient connectionServiceClient = await ConnectionServiceClient.CreateAsync();

            // Initialize request argument(s)
            string name = "";
            ConnectionCredential credential = new ConnectionCredential();
            // Make the request
            await connectionServiceClient.UpdateConnectionCredentialAsync(name, credential);

            // End snippet
        }
        /// <summary>Snippet for UpdateConnectionCredentialAsync</summary>
        public async Task UpdateConnectionCredentialRequestObjectAsync()
        {
            // Snippet: UpdateConnectionCredentialAsync(UpdateConnectionCredentialRequest, CallSettings)
            // Additional: UpdateConnectionCredentialAsync(UpdateConnectionCredentialRequest, CancellationToken)
            // Create client
            ConnectionServiceClient connectionServiceClient = await ConnectionServiceClient.CreateAsync();

            // Initialize request argument(s)
            UpdateConnectionCredentialRequest request = new UpdateConnectionCredentialRequest
            {
                Name       = "",
                Credential = new ConnectionCredential(),
            };
            // Make the request
            await connectionServiceClient.UpdateConnectionCredentialAsync(request);

            // End snippet
        }