InstAPI.IsNameAgentService(String) Méthode

Définition

Détermine si une chaîne est un nom de service SQL Agent valide.

public:
 static bool IsNameAgentService(System::String ^ serviceName);
public static bool IsNameAgentService(string serviceName);
static member IsNameAgentService : string -> bool
Public Shared Function IsNameAgentService (serviceName As String) As Boolean

Paramètres

serviceName
String

Pointeur vers le nom de service de l'instance SQL.

Retours

true si la valeur spécifiée est un nom de service SQL Agent valide ; sinon, false.

S’applique à