InstalledInstances.GetInstance(ServiceContainer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the installed instances.
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
Parameters
- context
- Microsoft.SqlServer.Chainer.Infrastructure.ServiceContainer
The context.
Returns
The installed instances.