Compartilhar via


DataItem.Format Property

Gets or sets the formatting property for DataItem values.

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

Syntax

'Declaration
<XmlElementAttribute(IsNullable:=False)> _
Public Property Format As String
[XmlElementAttribute(IsNullable=false)] 
public string Format { get; set; }
[XmlElementAttribute(IsNullable=false)] 
public:
property String^ Format {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Format ()

/** @property */
public void set_Format (String value)
public function get Format () : String

public function set Format (value : String)

Property Value

A system.string with the formatting value.

Remarks

Trimming is the only formatting enabled in the current version of SQL Server Analysis Services.

The supported format values are TrimRight, TrimLeft, TrimAll, and TrimNone.

Default value is TrimRight.

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

DataItem Class
DataItem Members
Microsoft.AnalysisServices Namespace