Share via


NewWebServiceProxy.Class Property

Gets and sets the value of the Class 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 String

value = instance.Class

instance.Class = value

Syntax

'Declaration
<AliasAttribute(System.String[])> _
<ParameterAttribute(Position:=1)> _
<ValidateNotNullOrEmptyAttribute> _
Public Property Class As String
[AliasAttribute(System.String[])] 
[ParameterAttribute(Position=1)] 
[ValidateNotNullOrEmptyAttribute] 
public string Class { get; set; }
[AliasAttribute(System.String[])] 
[ParameterAttribute(Position=1)] 
[ValidateNotNullOrEmptyAttribute] 
public:
property String^ Class {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Class ()

/** @property */
public void set_Class (String value)
public function get Class () : String

public function set Class (value : String)

Property Value

A String object that contains the name of the class that is used to create the proxy object for 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