Bagikan melalui


Language.Month Method

Returns a String value of the month in the referenced language.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function Month ( _
    month As Month _
) As String
'Usage
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

Parameters

Return Value

Type: System.String
A String value that specifies the month in the referenced language.

Remarks

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.

Examples

Calling Methods

See Also

Reference

Language Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

sys.syslanguages (Transact-SQL)