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 命名空间