SettingDatasourceCredentials Developer sample in C# demonstrating how to set datasource credentials using the Power BI .NET SDK.