Share via


SfcProperty.GreaterThan Operator

Determines whether one object is greater than another object by performing a greater than operation on two Property objects.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Shared Operator > ( _
    prop1 As SfcProperty, _
    prop2 As SfcProperty _
) As Boolean
'Usage
Dim prop1 As SfcProperty 
Dim prop2 As SfcProperty 
Dim returnValue As Boolean 

returnValue = (prop1 > prop2)
public static bool operator >(
    SfcProperty prop1,
    SfcProperty prop2
)
public:
static bool operator >(
    SfcProperty^ prop1, 
    SfcProperty^ prop2
)
static let inline(>)
        prop1:SfcProperty * 
        prop2:SfcProperty  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if the first object is greater than the second object

See Also

Reference

SfcProperty Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace