共用方式為


CategoryBase.GetCatTypeName 方法

Returns a String with the name of the specified category type.

命名空間:  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
A String value that specifies the name of the category type: LOCAL, MULTI-SERVER, or NONE.

請參閱

參考

CategoryBase 類別

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