DataType.Equals Method (DataType)

Determines whether the specified data types are considered equal.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function Equals ( _
    dt As DataType _
) As Boolean
'Usage
Dim instance As DataType 
Dim dt As DataType 
Dim returnValue As Boolean 

returnValue = instance.Equals(dt)
public bool Equals(
    DataType dt
)
public:
bool Equals(
    DataType^ dt
)
member Equals : 
        dt:DataType -> bool
public function Equals(
    dt : DataType
) : boolean

Parameters

Return Value

Type: System.Boolean
A Boolean that specifies whether the objects are equal. True if the two objects are equal. False if they are not equal.

See Also

Reference

DataType Class

Equals Overload

Microsoft.SqlServer.Management.Smo Namespace