ManagedComputer.ServerInstances Property
Represents a collection of ServerInstance objects. Each ServerInstance object represents an instance of SQL Server defined on the WMI installation.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in microsoft.sqlserver.sqlwmimanagement.dll)
Syntax
'Deklaracja
Public ReadOnly Property ServerInstances As ServerInstanceCollection
public ServerInstanceCollection ServerInstances { get; }
public:
property ServerInstanceCollection^ ServerInstances {
ServerInstanceCollection^ get ();
}
/** @property */
public ServerInstanceCollection get_ServerInstances ()
public function get ServerInstances () : ServerInstanceCollection
Property Value
A ServerInstanceCollection object that represents all the server instances defined on the WMI installation.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
See Also