Protocol.IsBuiltInProtocolName Method

This method supports the SQL Server 2005 infrastructure and is not intended to be used directly from your code.

Returns a value indicating if the delivery protocol is a standard delivery protocol.

命名空间: Microsoft.SqlServer.NotificationServices
程序集: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

语法

声明
Public Shared Function IsBuiltInProtocolName ( _
    name As String _
) As Boolean
public static bool IsBuiltInProtocolName (
    string name
)
public:
static bool IsBuiltInProtocolName (
    String^ name
)
public static boolean IsBuiltInProtocolName (
    String name
)
public static function IsBuiltInProtocolName (
    name : String
) : boolean

参数

  • name
    The name of the delivery protocol.

返回值

Returns true if the delivery protocol name is File or SMTP; otherwise, false.

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Protocol Class
Protocol Members
Microsoft.SqlServer.NotificationServices Namespace