共用方式為


ClientRuntimeContext.AuthenticationMode Property

Gets or sets the authentication mode for the client context.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Property AuthenticationMode As ClientAuthenticationMode
    Get
    Set
'Usage
Dim instance As ClientRuntimeContext
Dim value As ClientAuthenticationMode

value = instance.AuthenticationMode

instance.AuthenticationMode = value
public ClientAuthenticationMode AuthenticationMode { get; set; }

Property Value

Type: Microsoft.SharePoint.Client.ClientAuthenticationMode
The authentication mode of the client context.

See Also

Reference

ClientRuntimeContext Class

ClientRuntimeContext Members

Microsoft.SharePoint.Client Namespace