Collapse All/Expand All Collapse All
Partition..::.Slice Property

Gets or sets the slice that defines the partition content.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Visual Basic (Declaration)
<XmlElementAttribute(IsNullable := False)> _
<ReadOnlyAttribute(False)> _
<EditorAttribute("Microsoft.AnalysisServices.Design.MDXUITypeEditor, Microsoft.AnalysisServices.Design",  _
	GetType(UITypeEditor))> _
Public Property Slice As String 
	Get 
	Set
Visual Basic (Usage)
Dim instance As Partition 
Dim value As String 

value = instance.Slice

instance.Slice = value
C#
[XmlElementAttribute(IsNullable = false)]
[ReadOnlyAttribute(false)]
[EditorAttribute("Microsoft.AnalysisServices.Design.MDXUITypeEditor, Microsoft.AnalysisServices.Design", 
	typeof(UITypeEditor))]
public string Slice { get; set; }
Visual C++
[XmlElementAttribute(IsNullable = false)]
[ReadOnlyAttribute(false)]
[EditorAttribute(L"Microsoft.AnalysisServices.Design.MDXUITypeEditor, Microsoft.AnalysisServices.Design", 
	typeof(UITypeEditor))]
public:
property String^ Slice {
	String^ get ();
	void set (String^ value);
}
F#
[<XmlElementAttribute(IsNullable = false)>]
[<ReadOnlyAttribute(false)>]
[<EditorAttribute("Microsoft.AnalysisServices.Design.MDXUITypeEditor, Microsoft.AnalysisServices.Design", 
    typeof(UITypeEditor))>]
member Slice : string with get, set
JScript
function get Slice () : String 
function set Slice (value : String)

Property Value

Type: String
A String value the represents the slice.

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.


Navigation

Microsoft.AnalysisServices
 Slice Property
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
       Send    Add Content...  
Click to Rate and Give Feedback
Page view tracker