Partilhar via


Condition.ToFilterStatement Method

Casts a Condition object to a FilterStatement object.

Namespace: Microsoft.SqlServer.NotificationServices.Rules
Assembly: Microsoft.SqlServer.NotificationServices.Rules (in microsoft.sqlserver.notificationservices.rules.dll)

Syntax

'Declaration
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

Parameters

Return Value

A FilterStatement object.

Remarks

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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