次の方法で共有


Language.ShortMonth Method

参照先の言語で月の省略名の String 値を返します。

名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (microsoft.sqlserver.smo.dll 内)

構文

'宣言
Public Function ShortMonth ( _
    month As Month _
) As String
public string ShortMonth (
    Month month
)
public:
String^ ShortMonth (
    Month month
)
public String ShortMonth (
    Month month
)
public function ShortMonth (
    month : Month
) : String

パラメータ

  • month
    年の月を示す Month オブジェクトの値です。

戻り値

参照先の言語で月の省略名を示す String 値です。

解説

Month オブジェクトを使用して曜日を指定することによって、ShortMonth メソッドは、参照先の言語での月の省略名 (Sep など) を含む文字列値を返します。

この名前空間、クラス、またはメンバは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

使用例

Visual Basic .NET でパラメータと SMO メソッドを使用する方法

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

Language Class
Language Members
Microsoft.SqlServer.Management.Smo Namespace

その他の技術情報

sys.syslanguages (Transact-SQL)