InstalledInstances.GetInstance(ServiceContainer) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取已安装的实例。
public:
static Microsoft::SqlServer::Configuration::InstalledInstances ^ GetInstance(Microsoft::SqlServer::Chainer::Infrastructure::ServiceContainer ^ context);
public static Microsoft.SqlServer.Configuration.InstalledInstances GetInstance (Microsoft.SqlServer.Chainer.Infrastructure.ServiceContainer context);
static member GetInstance : Microsoft.SqlServer.Chainer.Infrastructure.ServiceContainer -> Microsoft.SqlServer.Configuration.InstalledInstances
Public Shared Function GetInstance (context As ServiceContainer) As InstalledInstances
参数
- context
- Microsoft.SqlServer.Chainer.Infrastructure.ServiceContainer
上下文。
返回
已安装的实例。