NewWebServiceProxy.Credential Property
Gets and sets the value of the Credential 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 PSCredential
value = instance.Credential
instance.Credential = value
Syntax
'Declaration
<ValidateNotNullOrEmptyAttribute> _
<CredentialAttribute> _
<AliasAttribute(System.String[])> _
<ParameterAttribute(ParameterSetName:="Credential")> _
Public Property Credential As PSCredential
[ValidateNotNullOrEmptyAttribute]
[CredentialAttribute]
[AliasAttribute(System.String[])]
[ParameterAttribute(ParameterSetName="Credential")]
public PSCredential Credential { get; set; }
[ValidateNotNullOrEmptyAttribute]
[CredentialAttribute]
[AliasAttribute(System.String[])]
[ParameterAttribute(ParameterSetName=L"Credential")]
public:
property PSCredential^ Credential {
PSCredential^ get ();
void set (PSCredential^ value);
}
/** @property */
public PSCredential get_Credential ()
/** @property */
public void set_Credential (PSCredential value)
public function get Credential () : PSCredential
public function set Credential (value : PSCredential)
Property Value
A PSCredential object that contains the user account that has permission to perform this action.
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