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
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.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Use an SMO Method with a Parameter in Visual Basic .NET
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 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
Language Class
Language Members
Microsoft.SqlServer.Management.Smo Namespace