Share via


Méthode Month

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function Month ( _
    month As Month _
) As String
'Utilisation
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

Paramètres

Valeur de retour

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

Notes

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.