Udostępnij za pośrednictwem


ComputerNameDiscoveryCriteria.GetComputerNames Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the computer names included in the discovery criteria.

Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As ComputerNameDiscoveryCriteria
Dim returnValue As ReadOnlyCollection(Of String)

returnValue = instance.GetComputerNames

Syntax

'Declaration
Public Function GetComputerNames As ReadOnlyCollection(Of String)
public ReadOnlyCollection<string> GetComputerNames ()
public:
ReadOnlyCollection<String^>^ GetComputerNames ()
public ReadOnlyCollection<String> GetComputerNames ()
public function GetComputerNames () : ReadOnlyCollection<String>

Return Value

Returns a ReadOnlyCollection of type String that contains the computer names included in the discovery criteria.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

ComputerNameDiscoveryCriteria Class
ComputerNameDiscoveryCriteria Members
Microsoft.EnterpriseManagement.Administration Namespace