InstalledInstances.GetInstance(ServiceContainer) 方法

定義

取得已安裝的實例。

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

內容。

傳回

安裝的實例。

適用於