Share via


GetUserPreferredCalendar Method

This member has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses this member throws a MethodAccessException.[SECURITY CRITICAL]

Get the RDL calendar string value, based on the client user session calendar.

Namespace:  Microsoft.Dynamics.Framework.Reports
Assembly:  Microsoft.Dynamics.Framework.Reports (in Microsoft.Dynamics.Framework.Reports.dll)

Syntax

'Declaration
<BuiltInMethodAttribute> _
<SecurityCriticalAttribute> _
Public Shared Function GetUserPreferredCalendar As String
'Usage
Dim returnValue As String

returnValue = BuiltInMethods.GetUserPreferredCalendar()
[BuiltInMethodAttribute]
[SecurityCriticalAttribute]
public static string GetUserPreferredCalendar()
[BuiltInMethodAttribute]
[SecurityCriticalAttribute]
public:
static String^ GetUserPreferredCalendar()

Return Value

Type: System.String
The calendar RDL string value.

See Also

Reference

BuiltInMethods Class

Microsoft.Dynamics.Framework.Reports Namespace