Udostępnij przez


Language.Day Method

Returns a String value of the day of the week in the referenced language.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Function Day ( _
    day As DayOfWeek _
) As String
public string Day (
    DayOfWeek day
)
public:
String^ Day (
    DayOfWeek day
)
public String Day (
    DayOfWeek day
)
public function Day (
    day : DayOfWeek
) : String

Parameters

  • day
    A DayOfWeek system object value that specifies the day of the week.

Return Value

A String value that specifies the day of the week in the referenced language.

Remarks

By specifying the day of the week using a system object, the Day method returns a String value containing the day in the referenced language.

Example

Calling Methods

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.

Target Platforms

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