Sdílet prostřednictvím


Partition.Slice Property

Gets or sets the slice that defines the partition content.

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

Syntax

'Declaration
Public Property Slice As String 
    Get 
    Set
'Usage
Dim instance As Partition 
Dim value As String 

value = instance.Slice

instance.Slice = value
public string Slice { get; set; }
public:
property String^ Slice {
    String^ get ();
    void set (String^ value);
}
member Slice : string with get, set
function get Slice () : String 
function set Slice (value : 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

Reference

Partition Class

Microsoft.AnalysisServices Namespace