tagSTATSTG 结构

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

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

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
Public Structure tagSTATSTG
用法
Dim instance As tagSTATSTG
public struct tagSTATSTG
public value class tagSTATSTG
[<SealedAttribute>]
type tagSTATSTG =  struct end
JScript 支持使用结构,但不支持声明新结构。

tagSTATSTG 类型公开以下成员。

方法

  名称 说明
公共方法 Equals (从 ValueType 继承。)
公共方法 GetHashCode (从 ValueType 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 ToString (从 ValueType 继承。)

页首

字段

  名称 说明
公共字段 atime 基础结构。The last access time for this storage, stream, or byte array.
公共字段 cbSize 基础结构。The size in bytes of the stream or byte array.
公共字段 clsid 基础结构。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.
公共字段 ctime 基础结构。The creation time for this storage, stream, or byte array.
公共字段 grfLocksSupported 基础结构。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.
公共字段 grfMode 基础结构。The access mode specified when the object was opened. This member is valid only in calls to Stat methods.
公共字段 grfStateBits 基础结构。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.
公共字段 mtime 基础结构。The last modification time for this storage, stream, or byte array.
公共字段 pwcsName 基础结构。A pointer to a NULL-terminated Unicode string containing the name.
公共字段 reserved 基础结构。Reserved for future use.
公共字段 type 基础结构。The type of storage, which can be one of the values in the STGTY enumeration.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间