Partager via


UddiConnection.AutoGetAuthToken Property

Note: The Microsoft UDDI SDK is not supported by or included in Microsoft Windows versions after Microsoft Windows Server 7. The Microsoft UDDI V3 SDK is included with Microsoft BizTalk Server. For more information about the Microsoft UDDI V3 SDK, see Microsoft BizTalk Server documentation
Gets or sets whether the authorization token should automatically be retrieved during the UDDI operation.

Namespace: Microsoft.Uddi
Assembly: microsoft.uddi (in microsoft.uddi.dll)

Usage

Visual Basic
  Dim instance As UddiConnection
Dim value As Boolean
value = instance.AutoGetAuthToken
instance.AutoGetAuthToken = value

Syntax

'Declaration
PublicPropertyAutoGetAuthTokenAsBoolean
publicboolAutoGetAuthToken { get; set; }
public:
propertyboolAutoGetAuthToken {
    boolget ();
    voidset (boolvalue);
}
/** @property */
publicbooleanget_AutoGetAuthToken ()

/** @property */
publicvoidset_AutoGetAuthToken (booleanvalue)
publicfunction getAutoGetAuthToken () : booleanpublicfunction setAutoGetAuthToken (value : boolean)

Property Value

true if the authorization token should be retrieved automatically or false otherwise.

Remarks

This property is only used if the AuthenticationMode property contains AuthenticationMode.UddiAuthentication. This property is ignored for all other values of the AuthenticationMode property.

If this property contains true, the UddiConnection object will automatically obtain an authorization token from the server if one is required. An authorization token is required if the AuthInfo property is empty or the authorization token represented by the AuthInfo property has expired.

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

Target Platforms

Windows Server 2008, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP

See Also

Reference

UddiConnection Class
UddiConnection Members
Microsoft.Uddi Namespace