Метод Day
Returns a String value of the day of the week in the referenced language.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Function Day ( _
day As DayOfWeek _
) As String
'Применение
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
Параметры
- day
Тип: System. . :: . .DayOfWeek
A DayOfWeek system object value that specifies the day of the week.
Возвращаемое значение
Тип: 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.
См. также