Share via


NewWebServiceProxy.Uri Property

Gets and sets the value of the Uri parameter of the New-WebServiceProxy cmdlet. This property is introduced in Windows PowerShell 2.0.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)

Usage

'Usage
Dim instance As NewWebServiceProxy
Dim value As Uri

value = instance.Uri

instance.Uri = value

Syntax

'Declaration
<ParameterAttribute(Mandatory:=True, Position:=0)> _
<ValidateNotNullOrEmptyAttribute> _
<AliasAttribute(System.String[])> _
Public Property Uri As Uri
[ParameterAttribute(Mandatory=true, Position=0)] 
[ValidateNotNullOrEmptyAttribute] 
[AliasAttribute(System.String[])] 
public Uri Uri { get; set; }
[ParameterAttribute(Mandatory=true, Position=0)] 
[ValidateNotNullOrEmptyAttribute] 
[AliasAttribute(System.String[])] 
public:
property Uri^ Uri {
    Uri^ get ();
    void set (Uri^ value);
}
/** @property */
public Uri get_Uri ()

/** @property */
public void set_Uri (Uri value)
public function get Uri () : Uri

public function set Uri (value : Uri)

Property Value

A Uri object that contains the Uniform Resource Identifier (URI) of the Web service.

Remarks

This topic is included in this SDK for completeness only. For more information about this cmdlet, see New-WebServiceProxy in the Microsoft TechNet library.

For Help at the command line, type:

get-help new-webserviceproxy

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

Target Platforms

See Also

Reference

NewWebServiceProxy Class
NewWebServiceProxy Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK