SPServiceContext.Inequality operator

Determines whether the two specified SPServiceContext objects have different values.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Operator <> ( _
    serviceContextA As SPServiceContext, _
    serviceContextB As SPServiceContext _
) As Boolean
'Usage
Dim serviceContextA As SPServiceContext
Dim serviceContextB As SPServiceContext
Dim returnValue As Boolean

returnValue = (serviceContextA <> serviceContextB)
public static bool operator !=(
    SPServiceContext serviceContextA,
    SPServiceContext serviceContextB
)

Parameters

Return value

Type: System.Boolean
true if the value of serviceContextA is different from the value of serviceContextB; otherwise, false.

See also

Reference

SPServiceContext class

SPServiceContext members

Microsoft.SharePoint namespace