Language.ShortMonth Method (Month)
Applies To: SQL Server 2016 Preview
Returns a String value of the abbreviated month in the referenced language.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
public string ShortMonth(
Month month
)
public:
String^ ShortMonth(
Month month
)
member ShortMonth :
month:Month -> string
Public Function ShortMonth (
month As Month
) As String
Parameters
month
Type: Microsoft.SqlServer.Management.Smo.MonthA Month object value that specifies the month of the year.
Return Value
Type: System.String
A String value that specifies the abbreviated month in the referenced language.
Remarks
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.
Examples
Legacy Code Example
See Also
Language Class
Microsoft.SqlServer.Management.Smo Namespace
sys.syslanguages (Transact-SQL)
Return to top