Share via


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

'Declaration
Public Function Day ( _
    day As DayOfWeek _
) As String
'Usage
Dim instance As Language 
Dim day As DayOfWeek 
Dim returnValue As String 

returnValue = instance.Day(day)
public string Day(
    DayOfWeek day
)
public:
String^ Day(
    DayOfWeek day
)
member Day : 
        day:DayOfWeek -> string
public function Day(
    day : DayOfWeek
) : String

Parameters

Return Value

Type: System.String
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.

Examples

Calling Methods

See Also

Reference

Language Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

sys.syslanguages (Transact-SQL)