AdoNetHostingExtensions.UseAdoNetClustering 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
UseAdoNetClustering(IClientBuilder, Action<OptionsBuilder<AdoNetClusteringClientOptions>>)
設定此用戶端以使用叢集 ADO.NET。 如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
public static Orleans.Hosting.IClientBuilder UseAdoNetClustering (this Orleans.Hosting.IClientBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringClientOptions>> configureOptions);
static member UseAdoNetClustering : Orleans.Hosting.IClientBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringClientOptions>> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As IClientBuilder, configureOptions As Action(Of OptionsBuilder(Of AdoNetClusteringClientOptions))) As IClientBuilder
參數
- builder
- IClientBuilder
產生器。
- configureOptions
- Action<OptionsBuilder<AdoNetClusteringClientOptions>>
組態委派。
傳回
提供的 IClientBuilder。
備註
如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
適用於
UseAdoNetClustering(IClientBuilder, Action<AdoNetClusteringClientOptions>)
設定此用戶端以使用叢集 ADO.NET。 如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
public static Orleans.Hosting.IClientBuilder UseAdoNetClustering (this Orleans.Hosting.IClientBuilder builder, Action<Orleans.Configuration.AdoNetClusteringClientOptions> configureOptions);
static member UseAdoNetClustering : Orleans.Hosting.IClientBuilder * Action<Orleans.Configuration.AdoNetClusteringClientOptions> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As IClientBuilder, configureOptions As Action(Of AdoNetClusteringClientOptions)) As IClientBuilder
參數
- builder
- IClientBuilder
產生器。
- configureOptions
- Action<AdoNetClusteringClientOptions>
組態委派。
傳回
提供的 IClientBuilder。
備註
如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
適用於
UseAdoNetClustering(ISiloBuilder, Action<OptionsBuilder<AdoNetClusteringSiloOptions>>)
將此定址接收器設定為使用叢集 ADO.NET。 如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
public static Orleans.Hosting.ISiloBuilder UseAdoNetClustering (this Orleans.Hosting.ISiloBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringSiloOptions>> configureOptions);
static member UseAdoNetClustering : Orleans.Hosting.ISiloBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringSiloOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As ISiloBuilder, configureOptions As Action(Of OptionsBuilder(Of AdoNetClusteringSiloOptions))) As ISiloBuilder
參數
- builder
- ISiloBuilder
產生器。
- configureOptions
- Action<OptionsBuilder<AdoNetClusteringSiloOptions>>
組態委派。
傳回
提供的 ISiloBuilder。
備註
如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
適用於
UseAdoNetClustering(ISiloBuilder, Action<AdoNetClusteringSiloOptions>)
將此定址接收器設定為使用叢集 ADO.NET。 如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
public static Orleans.Hosting.ISiloBuilder UseAdoNetClustering (this Orleans.Hosting.ISiloBuilder builder, Action<Orleans.Configuration.AdoNetClusteringSiloOptions> configureOptions);
static member UseAdoNetClustering : Orleans.Hosting.ISiloBuilder * Action<Orleans.Configuration.AdoNetClusteringSiloOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As ISiloBuilder, configureOptions As Action(Of AdoNetClusteringSiloOptions)) As ISiloBuilder
參數
- builder
- ISiloBuilder
產生器。
- configureOptions
- Action<AdoNetClusteringSiloOptions>
組態委派。
傳回
提供的 ISiloBuilder。
備註
如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
適用於
UseAdoNetClustering(ISiloHostBuilder, Action<OptionsBuilder<AdoNetClusteringSiloOptions>>)
將此定址接收器設定為使用叢集 ADO.NET。 如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
public static Orleans.Hosting.ISiloHostBuilder UseAdoNetClustering (this Orleans.Hosting.ISiloHostBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringSiloOptions>> configureOptions);
static member UseAdoNetClustering : Orleans.Hosting.ISiloHostBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringSiloOptions>> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As ISiloHostBuilder, configureOptions As Action(Of OptionsBuilder(Of AdoNetClusteringSiloOptions))) As ISiloHostBuilder
參數
- builder
- ISiloHostBuilder
產生器。
- configureOptions
- Action<OptionsBuilder<AdoNetClusteringSiloOptions>>
組態委派。
傳回
提供的 ISiloHostBuilder。
備註
如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
適用於
UseAdoNetClustering(ISiloHostBuilder, Action<AdoNetClusteringSiloOptions>)
將此定址接收器設定為使用叢集 ADO.NET。 如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
public static Orleans.Hosting.ISiloHostBuilder UseAdoNetClustering (this Orleans.Hosting.ISiloHostBuilder builder, Action<Orleans.Configuration.AdoNetClusteringSiloOptions> configureOptions);
static member UseAdoNetClustering : Orleans.Hosting.ISiloHostBuilder * Action<Orleans.Configuration.AdoNetClusteringSiloOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As ISiloHostBuilder, configureOptions As Action(Of AdoNetClusteringSiloOptions)) As ISiloHostBuilder
參數
- builder
- ISiloHostBuilder
產生器。
- configureOptions
- Action<AdoNetClusteringSiloOptions>
組態委派。
傳回
提供的 ISiloHostBuilder。
備註
如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
適用於
UseAdoNetClustering(IClientBuilder, Action<OptionsBuilder<AdoNetClusteringClientOptions>>)
設定此用戶端以使用叢集 ADO.NET。 如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
public static Orleans.IClientBuilder UseAdoNetClustering (this Orleans.IClientBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringClientOptions>> configureOptions);
static member UseAdoNetClustering : Orleans.IClientBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetClusteringClientOptions>> -> Orleans.IClientBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As IClientBuilder, configureOptions As Action(Of OptionsBuilder(Of AdoNetClusteringClientOptions))) As IClientBuilder
參數
- builder
- IClientBuilder
產生器。
- configureOptions
- Action<OptionsBuilder<AdoNetClusteringClientOptions>>
組態委派。
傳回
提供的 IClientBuilder。
備註
如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
適用於
UseAdoNetClustering(IClientBuilder, Action<AdoNetClusteringClientOptions>)
設定此用戶端以使用叢集 ADO.NET。 如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
public static Orleans.IClientBuilder UseAdoNetClustering (this Orleans.IClientBuilder builder, Action<Orleans.Configuration.AdoNetClusteringClientOptions> configureOptions);
static member UseAdoNetClustering : Orleans.IClientBuilder * Action<Orleans.Configuration.AdoNetClusteringClientOptions> -> Orleans.IClientBuilder
<Extension()>
Public Function UseAdoNetClustering (builder As IClientBuilder, configureOptions As Action(Of AdoNetClusteringClientOptions)) As IClientBuilder
參數
- builder
- IClientBuilder
產生器。
- configureOptions
- Action<AdoNetClusteringClientOptions>
組態委派。
傳回
提供的 IClientBuilder。
備註
如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。