/// <summary> /// Initializes a new instance of the Datasource class. /// </summary> /// <param name="name">The datasource name</param> /// <param name="connectionString">The datasource connection /// string</param> /// <param name="datasourceType">The datasource type</param> /// <param name="connectionDetails">The datasource connection /// details</param> public Datasource(string name = default(string), string connectionString = default(string), string datasourceType = default(string), DatasourceConnectionDetails connectionDetails = default(DatasourceConnectionDetails)) { Name = name; ConnectionString = connectionString; DatasourceType = datasourceType; ConnectionDetails = connectionDetails; CustomInit(); }
/// <summary> /// Initializes a new instance of the Datasource class. /// </summary> /// <param name="name">The datasource name. Available only for /// DirectQuery.</param> /// <param name="connectionString">The datasource connection string. /// Available only for DirectQuery.</param> /// <param name="datasourceType">The datasource type</param> /// <param name="connectionDetails">The datasource connection /// details</param> /// <param name="gatewayId">The bound gateway id. Empty when not bound /// to a gateway.</param> /// <param name="datasourceId">The bound datasource id. Empty when not /// bound to a gateway.</param> public Datasource(string name = default(string), string connectionString = default(string), string datasourceType = default(string), DatasourceConnectionDetails connectionDetails = default(DatasourceConnectionDetails), System.Guid?gatewayId = default(System.Guid?), System.Guid?datasourceId = default(System.Guid?)) { Name = name; ConnectionString = connectionString; DatasourceType = datasourceType; ConnectionDetails = connectionDetails; GatewayId = gatewayId; DatasourceId = datasourceId; CustomInit(); }
/// <summary> /// Initializes a new instance of the UpdateDatasourceConnectionRequest /// class. /// </summary> public UpdateDatasourceConnectionRequest(DatasourceConnectionDetails connectionDetails = default(DatasourceConnectionDetails), Datasource datasourceSelector = default(Datasource)) { ConnectionDetails = connectionDetails; DatasourceSelector = datasourceSelector; CustomInit(); }