Partition.Slice Property
パーティションの内容を定義するスライスを取得します。値の設定も可能です。
名前空間: Microsoft.AnalysisServices
アセンブリ: Microsoft.AnalysisServices (microsoft.analysisservices.dll 内)
構文
'宣言
<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)
プロパティ値
String 値です。
解説
パーティション スライスは、親である Partition の一部となるセルを制限する組またはセットに評価される MDX 式です。パーティション スライスには、CONSTRAINED パラメータが指定された StrToSet MDX 関数と同じ制限が適用されます。つまり、ディメンション名、階層名、レベル名、およびメンバ名、キー、一意な名前などを使用できますが、MDX 関数は使用できません。
正確な結果を求めるには、任意の 2 つのスライスの交差部分が空である必要があり、すべてのスライスの和集合がキューブ空間全体である必要があります。2 つのスライスの交差部分が空のセットでない場合、重複した情報が結果に含まれる可能性があります。
スレッド セーフ
この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォーム
開発プラットフォーム
サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。
対象プラットフォーム
サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。
参照
関連項目
Partition Class
Partition Members
Microsoft.AnalysisServices Namespace