Partition.Slice Property
Gets or sets the slice that defines the partition content.
Espace de noms: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
Syntaxe
'Déclaration
<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)
Valeur de propriété
A String value.
Notes
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.
Sécurité des threads
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.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
Partition Class
Partition Members
Microsoft.AnalysisServices Namespace