tagSTATSTG Structure

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Structure tagSTATSTG
'Usage
Dim instance As tagSTATSTG
public struct tagSTATSTG
public value class tagSTATSTG
[<SealedAttribute>]
type tagSTATSTG =  struct end
JScript suports the use of structures, but not the declaration of new ones.

The tagSTATSTG type exposes the following members.

Methods

  Name Description
Public method Equals (Inherited from ValueType.)
Public method GetHashCode (Inherited from ValueType.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from ValueType.)

Top

Fields

  Name Description
Public field atime Infrastructure. The last access time for this storage, stream, or byte array.
Public field cbSize Infrastructure. The size in bytes of the stream or byte array.
Public field 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.
Public field ctime Infrastructure. The creation time for this storage, stream, or byte array.
Public field 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.
Public field grfMode Infrastructure. The access mode specified when the object was opened. This member is valid only in calls to Stat methods.
Public field 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.
Public field mtime Infrastructure. The last modification time for this storage, stream, or byte array.
Public field pwcsName Infrastructure. A pointer to a NULL-terminated Unicode string containing the name.
Public field reserved Infrastructure. Reserved for future use.
Public field type Infrastructure. The type of storage, which can be one of the values in the STGTY enumeration.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace