ClientRuntimeContext.RequestSchemaVersion 属性

Gets of sets the schema version of the request.

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight.Runtime(位于 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中);  Microsoft.SharePoint.Client.Phone.Runtime(位于 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)  Microsoft.SharePoint.Client.Runtime(位于 Microsoft.SharePoint.Client.Runtime.dll 中)

语法

声明
Public Property RequestSchemaVersion As Version
    Get
    Set
用法
Dim instance As ClientRuntimeContext
Dim value As Version

value = instance.RequestSchemaVersion

instance.RequestSchemaVersion = value
public Version RequestSchemaVersion { get; set; }

属性值

类型:System.Version

备注

If this value is not set, the default value is equal to the value of the CurrentVersion property. For example, for a client running Microsoft Office 2013 to communicate with a server running Microsoft Office 2010, the value RequestSchemaVersion must be set to “14.0.0.0”. Otherwise, the server will reject the request.

另请参阅

引用

ClientRuntimeContext 类

ClientRuntimeContext 成员

Microsoft.SharePoint.Client 命名空间