Partager via


Propriété Computers

Gets the collection of computers running managed instances.

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Computer))> _
Public ReadOnly Property Computers As ComputerCollection
    Get
'Utilisation
Dim instance As Utility
Dim value As ComputerCollection

value = instance.Computers
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Computer))]
public ComputerCollection Computers { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(Computer))]
public:
property ComputerCollection^ Computers {
    ComputerCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Computer))>]
member Computers : ComputerCollection
function get Computers () : ComputerCollection

Valeur de propriété

Type : Microsoft.SqlServer.Management.Utility. . :: . .ComputerCollection
A ComputerCollection value containing the collection of computers running managed instances of SQL Server.