Share via


NamedSet.Expression Property

Gets the MDX set expression that defines the NamedSet.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public ReadOnly Property Expression As String
    Get
'Usage
Dim instance As NamedSet
Dim value As String

value = instance.Expression
public string Expression { get; }
public:
property String^ Expression {
    String^ get ();
}
member Expression : string
function get Expression () : String

Property Value

Type: System.String
A String that contains the set expression that defines the NamedSet.

Remarks

The set expression in a NamedSet can include any literal or function that can normally be incorporated into a set expression in MDX. The information for this property is retrieved from the EXPRESSION column of the MDSCHEMA_SETS Rowset.