SqlServerCachingServicesExtensions 类

定义

用于在 IServiceCollection 中设置 Microsoft SQL Server 分布式缓存服务的扩展方法。Extension methods for setting up Microsoft SQL Server distributed cache services in an IServiceCollection.

public ref class SqlServerCachingServicesExtensions abstract sealed
public static class SqlServerCachingServicesExtensions
type SqlServerCachingServicesExtensions = class
Public Module SqlServerCachingServicesExtensions
继承
SqlServerCachingServicesExtensions

方法

AddDistributedSqlServerCache(IServiceCollection, Action<SqlServerCacheOptions>)

将 Microsoft SQL Server 分布式缓存服务添加到指定的 IServiceCollection 中。Adds Microsoft SQL Server distributed caching services to the specified IServiceCollection.

适用于