Delen via


PivotedTableReference.PivotColumn Property

Gets or sets the pivot column.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property PivotColumn As ColumnReferenceExpression 
    Get 
    Set
'Usage
Dim instance As PivotedTableReference 
Dim value As ColumnReferenceExpression 

value = instance.PivotColumn

instance.PivotColumn = value
public ColumnReferenceExpression PivotColumn { get; set; }
public:
property ColumnReferenceExpression^ PivotColumn {
    ColumnReferenceExpression^ get ();
    void set (ColumnReferenceExpression^ value);
}
member PivotColumn : ColumnReferenceExpression with get, set
function get PivotColumn () : ColumnReferenceExpression 
function set PivotColumn (value : ColumnReferenceExpression)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.ColumnReferenceExpression
The pivot column.

See Also

Reference

PivotedTableReference Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace