다음을 통해 공유


SPView.AggregationsStatus Property

Gets or sets a string that specifies whether aggregate, or total, columns are used in the view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
<ClientCallableConstraintAttribute(FixedId := "validstr", Type := ClientCallableConstraintType.Custom,  _
    Value := "If the Aggregations property is null, it MUST be null; otherwise it MUST conform to AggregationsValueType as defined in [MS-WSSCAML].")> _
Public Property AggregationsStatus As String
    Get
    Set
'Usage
Dim instance As SPView
Dim value As String

value = instance.AggregationsStatus

instance.AggregationsStatus = value
[ClientCallableAttribute]
[ClientCallableConstraintAttribute(FixedId = "validstr", Type = ClientCallableConstraintType.Custom, Value = "If the Aggregations property is null, it MUST be null; otherwise it MUST conform to AggregationsValueType as defined in [MS-WSSCAML].")]
public string AggregationsStatus { get; set; }

Property Value

Type: System.String
A string that specifies On if an aggregate column is used in the view; otherwise, an empty string.

See Also

Reference

SPView Class

SPView Members

Microsoft.SharePoint Namespace