Condition.ToFilterStatement Method

Casts a Condition object to a FilterStatement object.

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

语法

声明
Public Shared Function ToFilterStatement ( _
    condition As Condition _
) As FilterStatement
public static FilterStatement ToFilterStatement (
    Condition condition
)
public:
static FilterStatement^ ToFilterStatement (
    Condition^ condition
)
public static FilterStatement ToFilterStatement (
    Condition condition
)
public static function ToFilterStatement (
    condition : Condition
) : FilterStatement

参数

返回值

A FilterStatement object.

备注

During the cast, the Condition object's Action property is set to Include.

线程安全

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 的硬件和软件要求。

请参阅

参考

Condition Class
Condition Members
Microsoft.SqlServer.NotificationServices.Rules Namespace