Language.Month 方法
Returns a String value of the month in the referenced language.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function Month ( _
month As Month _
) As String
'用途
Dim instance As Language
Dim month As Month
Dim returnValue As String
returnValue = instance.Month(month)
public string Month(
Month month
)
public:
String^ Month(
Month month
)
member Month :
month:Month -> string
public function Month(
month : Month
) : String
參數
- month
型別:Microsoft.SqlServer.Management.Smo.Month
A Month object value that specifies the month of the year.
傳回值
型別:System.String
A String value that specifies the month in the referenced language.
備註
By specifying the day of the week using a Month object, the Month method returns a String value containing the month in the referenced language, September for example.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間