DataViewWebPart.DataQuery 属性

获取或设置指定要用于数据检索和传递给适配器的查询的数据检索服务适配器的 XML。

命名空间:  Microsoft.SharePoint.WebPartPages
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.None)> _
Public Property DataQuery As String
    Get
    Set
用法
Dim instance As DataViewWebPart
Dim value As String

value = instance.DataQuery

instance.DataQuery = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
public string DataQuery { get; set; }

属性值

类型:System.String
String包含指定的数据检索服务适配器的 XML。

另请参阅

引用

DataViewWebPart 类

DataViewWebPart 成员

Microsoft.SharePoint.WebPartPages 命名空间