Compartilhar via


NamedSet.Expression Property

Gets the MDX set expression that defines the NamedSet.

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
Public ReadOnly Property Expression As String
public string Expression { get; }
public:
property String^ Expression {
    String^ get ();
}
/** @property */
public String get_Expression ()
public function get Expression () : String

Property Value

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.

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

NamedSet Class
NamedSet Members
Microsoft.AnalysisServices.AdomdClient Namespace