共用方式為


Slice 屬性

Gets or sets the slice that defines the partition content.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Property Slice As String
    Get
    Set
'用途
Dim instance As Partition
Dim value As String

value = instance.Slice

instance.Slice = value
public string Slice { get; set; }
public:
property String^ Slice {
    String^ get ();
    void set (String^ value);
}
member Slice : string with get, set
function get Slice () : String
function set Slice (value : String)

屬性值

型別:System. . :: . .String
A String value.

備註

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.