共用方式為


Utility.Computers 屬性

Gets the collection of computers running managed instances.

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Computer))> _
Public ReadOnly Property Computers As ComputerCollection 
    Get
'用途
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

屬性值

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

請參閱

參考

Utility 類別

Microsoft.SqlServer.Management.Utility 命名空間