Partager via


Structure tagSTATSTG

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Specifies the statistical information about an open storage, stream, or byte array object.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Public Structure tagSTATSTG
'Utilisation
Dim instance As tagSTATSTG
public struct tagSTATSTG
public value class tagSTATSTG
[<SealedAttribute>]
type tagSTATSTG =  struct end
JScript prend en charge l'utilisation de structures, mais pas la déclaration de nouvelles structures.

Le type tagSTATSTG expose les membres suivants.

Méthodes

  Nom Description
Méthode publique Equals (hérité de ValueType.)
Méthode publique GetHashCode (hérité de ValueType.)
Méthode publique GetType (hérité de Object.)
Méthode publique ToString (hérité de ValueType.)

Haut de la page

Champs

  Nom Description
Champ public atime Infrastructure. The last access time for this storage, stream, or byte array.
Champ public cbSize Infrastructure. The size in bytes of the stream or byte array.
Champ public clsid Infrastructure. The class identifier for the storage object; set to CLSID_NULL for new storage objects. This member is not used for streams or byte arrays.
Champ public ctime Infrastructure. The creation time for this storage, stream, or byte array.
Champ public grfLocksSupported Infrastructure. The type of region locking that is supported by the stream or byte array, which can be a value in the LOCKTYPE enumeration. This member is not used for storage objects.
Champ public grfMode Infrastructure. The access mode specified when the object was opened. This member is valid only in calls to Stat methods.
Champ public grfStateBits Infrastructure. The current state bits of the storage object; that is, the value most recently set by the IStorage::SetStateBits method. This member is not valid for streams or byte arrays.
Champ public mtime Infrastructure. The last modification time for this storage, stream, or byte array.
Champ public pwcsName Infrastructure. A pointer to a NULL-terminated Unicode string containing the name.
Champ public reserved Infrastructure. Reserved for future use.
Champ public type Infrastructure. The type of storage, which can be one of the values in the STGTY enumeration.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper