Share via


CategoryBase.GetCatTypeName Method

Returns a String with the name of the specified 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

Parameters

Return Value

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

See Also

Reference

CategoryBase Class

Microsoft.SqlServer.Management.Smo.Agent Namespace