共用方式為


ManagedComputer.ServerInstances Property

Definition

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

Applies to