WebServicesClientProtocol.UseDefaultCredentials Property

Gets or sets a value indicating whether to set the System.Web.Services.Protocols.WebClientProtocol.Credentials property to the value of the System.Net.CredentialCache.DefaultCredentials property.

Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim webServicesClientProtocol1 As WebServicesClientProtocol

Dim returnValue As Boolean
returnValue = webServicesClientProtocol1.UseDefaultCredentials

Dim sampleValue As Boolean
webServicesClientProtocol1.UseDefaultCredentials = sampleValue

Syntax

'Declaration
Public Shadows Property UseDefaultCredentials() As Boolean
public new bool UseDefaultCredentials {get; set;}
public:
property bool UseDefaultCredentials {
    bool get();
    void set(bool value);
}
new public boolean get_UseDefaultCredentials();
public void set_UseDefaultCredentials(boolean);
public hide function get UseDefaultCredentials() : Boolean;
public hide function set UseDefaultCredentials(Boolean);

Property Value

true if the System.Web.Services.Protocols.WebClientProtocol.Credentials property is set to the value of the System.Net.CredentialCache.DefaultCredentials property; otherwise false.

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

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

WebServicesClientProtocol Class
WebServicesClientProtocol Members
Microsoft.Web.Services3 Namespace