Udostępnij za pośrednictwem


Metoda CategoryBase.GetCatTypeName

Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.Pobiera String wartość, która określa nazwę typu kategorii.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.Agent
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Protected Function GetCatTypeName ( _
    ct As CategoryType _
) As String
'Użycie
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

Wartość zwracana

Typ: System.String
A String wartość, która określa nazwę typu kategorii: LOKALNE, rozwiązaniem, lub Brak.