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