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

参数

返回值

类型: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.

示例

调用方法