Language.ShortMonth 方法
Returns a String value of the abbreviated month in the referenced language.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function ShortMonth ( _
month As Month _
) As String
'用途
Dim instance As Language
Dim month As Month
Dim returnValue As String
returnValue = instance.ShortMonth(month)
public string ShortMonth(
Month month
)
public:
String^ ShortMonth(
Month month
)
member ShortMonth :
month:Month -> string
public function ShortMonth(
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 abbreviated month in the referenced language.
備註
By specifying the day of the week using a Month object, the ShortMonth method returns a string value containing the month in abbreviated format in the referenced language, Sep for example.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間