共用方式為


ClientRuntimeContext.Credentials 屬性

取得或設定用戶端內容的驗證資訊。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Phone.Runtime (在 Microsoft.SharePoint.Client.Phone.Runtime.dll 中);  Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)

語法

'宣告
Public Property Credentials As ICredentials
    Get
    Set
'用途
Dim instance As ClientRuntimeContext
Dim value As ICredentials

value = instance.Credentials

instance.Credentials = value
public ICredentials Credentials { get; set; }

屬性值

類型:System.Net.ICredentials
用戶端內容驗證資訊。

請參閱

參照

ClientRuntimeContext 類別

ClientRuntimeContext 成員

Microsoft.SharePoint.Client 命名空間