Méthode ShortMonth
Returns a String value of the abbreviated 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 ShortMonth ( _
month As Month _
) As String
'Utilisation
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
Paramètres
- month
Type : Microsoft.SqlServer.Management.Smo. . :: . .Month
A Month object value that specifies the month of the year.
Valeur de retour
Type : System. . :: . .String
A String value that specifies the abbreviated month in the referenced language.
Notes
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.
Voir aussi