Microsoft.VisualStudio.R.Package.ProjectProperties.SetTransferProjectOnRunAsync C# (CSharp) Method

SetTransferProjectOnRunAsync() public method

Defines if project has to be transfered to remote host during run.
public SetTransferProjectOnRunAsync ( bool val ) : System.Threading.Tasks.Task
val bool
return System.Threading.Tasks.Task
        public async Task SetTransferProjectOnRunAsync(bool val) {
            var runProps = await GetConfigurationRunPropertiesAsync();
            await runProps.TransferProjectOnRun.SetValueAsync(val);
        }