Context.ClientCultureInfo Property

Gets the culture for the current client.

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

Syntax

'Declaration
Public Shared ReadOnly Property ClientCultureInfo As CultureInfo
public static CultureInfo ClientCultureInfo { get; }
public:
static property CultureInfo^ ClientCultureInfo {
    CultureInfo^ get ();
}
/** @property */
public static CultureInfo get_ClientCultureInfo ()
public static function get ClientCultureInfo () : CultureInfo

Property Value

The CultureInfo for the current client.

Example

In the following example, ClientCultureInfo is passed into ToString to parse a date in the correct format:

((DateTime)_dblRangeHigh).ToString(Context.ClientCultureInfo);

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

Context Class
Context Members
Microsoft.AnalysisServices.AdomdServer Namespace