Freigeben über


Day-Methode

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

Parameter

Rückgabewert

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

Hinweise

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.