DelegateIsNameAgentService 委托

定义

表示字符串是否为有效的 SQL 代理服务名称。

public delegate bool DelegateIsNameAgentService(System::String ^ sServiceName);
public delegate bool DelegateIsNameAgentService(string sServiceName);
type DelegateIsNameAgentService = delegate of string -> bool
Public Delegate Function DelegateIsNameAgentService(sServiceName As String) As Boolean 

参数

sServiceName
String

服务名称的字符串值。

返回值

true 如果字符串是有效的 SQL 代理服务名称,则为 。 ;否则为 false

适用于