Language.ShortMonth メソッド
参照先の言語で月の省略名の String 値を返します。
名前空間: 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
年の月を示す Month オブジェクトの値です。
戻り値
型: System.String
参照先の言語で月の省略名を示す String 値です。
説明
Month オブジェクトを使用して曜日を指定することによって、ShortMonth メソッドは、参照先の言語での月の省略名 (Sep など) を含む文字列値を返します。
使用例
関連項目
参照
Microsoft.SqlServer.Management.Smo 名前空間