Share via


GetCimAssociatedInstanceCommand.ComputerName Property

 

Gets and sets the ComputerName parameter, which specifies the name of the computer where the source instance is stored and where the association traversal should begin. This is an optional parameter and if it is not provided, the default value will be "localhost".

Namespace:   Microsoft.Management.Infrastructure.CimCmdlets
Assembly:  Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)

Syntax

[AliasAttribute(new string[] { ... })]
[ParameterAttribute(ParameterSetName = "ComputerSet")]
public string[] ComputerName { get; set; }
public:
[AliasAttribute(new array<String^>^ { ... })]
[ParameterAttribute(ParameterSetName = "ComputerSet")]
property array<String^>^ ComputerName {
    array<String^>^ get();
    void set(array<String^>^ value);
}
[<AliasAttribute([| ... |])>]
[<ParameterAttribute(ParameterSetName = "ComputerSet")>]
member ComputerName : string[] with get, set
<AliasAttribute(New String() { ... })>
<ParameterAttribute(ParameterSetName := "ComputerSet")>
Public Property ComputerName As String()

Property Value

Type: System.String[]

Returns String.

See Also

GetCimAssociatedInstanceCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top