次の方法で共有


CategoryBase.GetCatTypeName メソッド

指定されたカテゴリの種類の名前の String を返します。

名前空間:  Microsoft.SqlServer.Management.Smo.Agent
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Protected Function GetCatTypeName ( _
    ct As CategoryType _
) As String
'使用
Dim ct As CategoryType 
Dim returnValue As String 

returnValue = Me.GetCatTypeName(ct)
protected string GetCatTypeName(
    CategoryType ct
)
protected:
String^ GetCatTypeName(
    CategoryType ct
)
member GetCatTypeName : 
        ct:CategoryType -> string
protected function GetCatTypeName(
    ct : CategoryType
) : String

パラメーター

戻り値

型: System.String
カテゴリの種類 LOCAL、MULTI-SERVER、または NONE の名前を示す String 値です。

関連項目

参照

CategoryBase クラス

Microsoft.SqlServer.Management.Smo.Agent 名前空間