Partition.Slice Property
Gets or sets the slice that defines the partition content.
Spazio dei nomi: Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
Sintassi
'Dichiarazione
<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)
Valore proprietà
A String value.
Osservazioni
The partition slice is an MDX expression that evaluates to a tuple or a set that will limit the cells that will be part of the parent Partition. 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.
The intersection of any two slices should be empty and the union of all slices should be the entire cube space for results to be accurate. If the intersection of two slices is not the empty set, then duplicate information could be observed in results.
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.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
Partition Class
Partition Members
Microsoft.AnalysisServices Namespace