Share via


GetCimInstanceCommand.ResourceUri Property

 

Gets and sets the ResourceUri parameter, which defines the resource URI for which the instances are retrieved.

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

Syntax

[ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "ResourceUriSessionSet")]
[ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "ResourceUriComputerSet")]
[ParameterAttribute(ParameterSetName = "CimInstanceComputerSet")]
[ParameterAttribute(ParameterSetName = "CimInstanceSessionSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "QueryComputerSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "QuerySessionSet")]
public Uri ResourceUri { get; set; }
public:
[ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "ResourceUriSessionSet")]
[ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "ResourceUriComputerSet")]
[ParameterAttribute(ParameterSetName = "CimInstanceComputerSet")]
[ParameterAttribute(ParameterSetName = "CimInstanceSessionSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "QueryComputerSet")]
[ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "QuerySessionSet")]
property Uri^ ResourceUri {
    Uri^ get();
    void set(Uri^ value);
}
[<ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true,
    ParameterSetName = "ResourceUriSessionSet")>]
[<ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true,
    ParameterSetName = "ResourceUriComputerSet")>]
[<ParameterAttribute(ParameterSetName = "CimInstanceComputerSet")>]
[<ParameterAttribute(ParameterSetName = "CimInstanceSessionSet")>]
[<ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "QueryComputerSet")>]
[<ParameterAttribute(ValueFromPipelineByPropertyName = true, ParameterSetName = "QuerySessionSet")>]
member ResourceUri : Uri with get, set
<ParameterAttribute(Mandatory := True, ValueFromPipelineByPropertyName := True,
    ParameterSetName := "ResourceUriSessionSet")>
<ParameterAttribute(Mandatory := True, ValueFromPipelineByPropertyName := True,
    ParameterSetName := "ResourceUriComputerSet")>
<ParameterAttribute(ParameterSetName := "CimInstanceComputerSet")>
<ParameterAttribute(ParameterSetName := "CimInstanceSessionSet")>
<ParameterAttribute(ValueFromPipelineByPropertyName := True, ParameterSetName := "QueryComputerSet")>
<ParameterAttribute(ValueFromPipelineByPropertyName := True, ParameterSetName := "QuerySessionSet")>
Public Property ResourceUri As Uri

Property Value

Type: System.Uri

Returns Uri.

See Also

GetCimInstanceCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top