Partition.Slice Property

 

Applies To: SQL Server 2016 Preview

Gets or sets the slice that defines the partition content.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

[XmlElementAttribute(IsNullable = false)]
[ReadOnlyAttribute(false)]
[EditorAttribute("Microsoft.AnalysisServices.Design.MDXUITypeEditor, Microsoft.AnalysisServices.Design", 
    typeof(UITypeEditor))]
public string Slice { get; set; }
public:
[XmlElementAttribute(IsNullable = false)]
[ReadOnlyAttribute(false)]
[EditorAttribute("Microsoft.AnalysisServices.Design.MDXUITypeEditor, Microsoft.AnalysisServices.Design", 
    (UITypeEditor^::typeid))]
property String^ Slice {
    String^ get();
    void set(String^ value);
}
[<XmlElementAttribute(IsNullable = false)>]
[<ReadOnlyAttribute(false)>]
[<EditorAttribute("Microsoft.AnalysisServices.Design.MDXUITypeEditor, Microsoft.AnalysisServices.Design",
    typeof(UITypeEditor))>]
member Slice : string with get, set
<XmlElementAttribute(IsNullable := False)>
<ReadOnlyAttribute(False)>
<EditorAttribute("Microsoft.AnalysisServices.Design.MDXUITypeEditor, Microsoft.AnalysisServices.Design",
    GetType(UITypeEditor))>
Public Property Slice As String

Property Value

Type: System.String

A String value the represents the slice.

Remarks

The partition slice is an MDX expression specifying a tuple or a set. It has the same restrictions as the StrToSet MDX function with the CONSTRAINED parameter. That is, it can use dimension, hierarchy, level and member names, keys, unique names, etc., but no MDX functions.

See Also

Partition Class
Microsoft.AnalysisServices Namespace

Return to top