Language.Day Method (DayOfWeek)

 

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)

public string Day(
	DayOfWeek day
)

Parameters

day
Type: System.DayOfWeek

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

Return Value

Type: System.String

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

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.

Return to top
Show: