Share via


CbqQueryVersionInfo.DataColumnRenames property

Gets or sets the columns to rename after the data has been retrieved.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property DataColumnRenames As String
    Get
    Set
'Usage
Dim instance As CbqQueryVersionInfo
Dim value As String

value = instance.DataColumnRenames

instance.DataColumnRenames = value
public string DataColumnRenames { get; set; }

Property value

Type: System.String
A string containing the pairs of old and new column names.

Remarks

Column renames are separated by semicolons and are in the format "originalName,newName." A new column name must not be present in the data or the rename is not performed,

See also

Reference

CbqQueryVersionInfo class

CbqQueryVersionInfo members

Microsoft.SharePoint.Publishing namespace

CbqQueryVersionInfo