Share via


NewCimInstanceCommand.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")]
public Uri ResourceUri { get; set; }
public:
[ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "ResourceUriSessionSet")]
[ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "ResourceUriComputerSet")]
property Uri^ ResourceUri {
    Uri^ get();
    void set(Uri^ value);
}
[<ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true,
    ParameterSetName = "ResourceUriSessionSet")>]
[<ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true,
    ParameterSetName = "ResourceUriComputerSet")>]
member ResourceUri : Uri with get, set
<ParameterAttribute(Mandatory := True, ValueFromPipelineByPropertyName := True,
    ParameterSetName := "ResourceUriSessionSet")>
<ParameterAttribute(Mandatory := True, ValueFromPipelineByPropertyName := True,
    ParameterSetName := "ResourceUriComputerSet")>
Public Property ResourceUri As Uri

Property Value

Type: System.Uri

Returns Uri.

See Also

NewCimInstanceCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top