Dela via


CategoryBase.GetCatTypeName Method

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets a String value that specifies the name of the category type.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Function GetCatTypeName ( _
    ct As CategoryType _
) As String
'Usage
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

Return Value

Type: System.String
A String value that specifies the name of the category type: LOCAL, MULTI-SERVER, or NONE.