Свойство ServerInstances
Represents a collection of ServerInstance objects. Each ServerInstance object represents an instance of SQL Server defined on the WMI installation.
Пространство имен: Microsoft.SqlServer.Management.Smo.Wmi
Сборка: Microsoft.SqlServer.SqlWmiManagement (в Microsoft.SqlServer.SqlWmiManagement.dll)
Синтаксис
'Декларация
Public ReadOnly Property ServerInstances As ServerInstanceCollection
Get
'Применение
Dim instance As ManagedComputer
Dim value As ServerInstanceCollection
value = instance.ServerInstances
public ServerInstanceCollection ServerInstances { get; }
public:
property ServerInstanceCollection^ ServerInstances {
ServerInstanceCollection^ get ();
}
member ServerInstances : ServerInstanceCollection
function get ServerInstances () : ServerInstanceCollection
Значение свойства
Тип Microsoft.SqlServer.Management.Smo.Wmi. . :: . .ServerInstanceCollection
A ServerInstanceCollection object that represents all the server instances defined on the WMI installation.