Udostępnij przez


Partition.Slice Property

Gets or sets the slice that defines the partition content.

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

Syntax

'Deklaracja
<ReadOnlyAttribute(False)> _
<XmlElementAttribute(IsNullable:=False)> _
<EditorAttribute("Microsoft.AnalysisServices.Design.MDXUITypeEditor, Microsoft.AnalysisServices.Design", GetType(UITypeEditor))> _
Public Property Slice As String
[ReadOnlyAttribute(false)] 
[XmlElementAttribute(IsNullable=false)] 
[EditorAttribute("Microsoft.AnalysisServices.Design.MDXUITypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
public string Slice { get; set; }
[ReadOnlyAttribute(false)] 
[XmlElementAttribute(IsNullable=false)] 
[EditorAttribute(L"Microsoft.AnalysisServices.Design.MDXUITypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
public:
property String^ Slice {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Slice ()

/** @property */
public void set_Slice (String value)
public function get Slice () : String

public function set Slice (value : String)

Property Value

A String value.

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.