GetCatTypeName-Methode
Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. 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
Parameter
- ct
Typ: Microsoft.SqlServer.Management.Smo.Agent. . :: . .CategoryType
A CategoryType object.
Rückgabewert
Typ: System. . :: . .String
A String value that specifies the name of the category type: LOCAL, MULTI-SERVER, or NONE.