Partager via


DtsObject.GetHashCode Method

Returns the hash code for this instance.

Espace de noms: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntaxe

'Déclaration
Public Overrides Function GetHashCode As Integer
public override int GetHashCode ()
public:
virtual int GetHashCode () override
public int GetHashCode ()
public override function GetHashCode () : int

Valeur de retour

A 32-bit signed integer that is the hash code for this instance.

Notes

The GetHashCode method applies to types derived from ValueType. One or more fields of the derived type are used to calculate the return value. If one or more of those fields contains a mutable value, the return value might be unpredictable and unsuitable for use as a key in a hash table. In that case, consider writing your own implementation of GetHashCode that more closely represents the concept of a hash code for the type. For more information, see Object.HashCode and Hashtable Class in the System.Collections namespace.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

DtsObject Class
DtsObject Members
Microsoft.SqlServer.Dts.Runtime Namespace