共用方式為


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