共用方式為


GetCatTypeName 方法

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Gets a String value that specifies the name of the 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.