Language.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.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間