ManagedComputer.ServerInstances Property
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.
Represents a collection of ServerInstance objects. Each ServerInstance object represents an instance of SQL Server defined on the WMI installation.
public:
property Microsoft::SqlServer::Management::Smo::Wmi::ServerInstanceCollection ^ ServerInstances { Microsoft::SqlServer::Management::Smo::Wmi::ServerInstanceCollection ^ get(); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServerInstanceCollection ServerInstances { get; }
member this.ServerInstances : Microsoft.SqlServer.Management.Smo.Wmi.ServerInstanceCollection
Public ReadOnly Property ServerInstances As ServerInstanceCollection
Property Value
A ServerInstanceCollection object that represents all the server instances defined on the WMI installation.
Examples
Managing Services and Network Settings by Using WMI Provider