PercentCompleteEventArgs.Percent Property

Gets the percentage value amount that when used in integer multiples, and marks the point at which to report progress.

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

语法

声明
Public ReadOnly Property Percent As Integer
public int Percent { get; }
public:
property int Percent {
    int get ();
}
/** @property */
public int get_Percent ()
public function get Percent () : int

属性值

An Int32 value that specifies the percentage value.

备注

The percentage value is reported at some point after the integer multiple of the percentage value is reached. For a Percent property value of 10 this means that the progress is reported after a multiple of 10 percent. The actual point at which it reports progress is when the write operation to disk pauses, and this does not always occur at exact multiples of the Percent property value.

示例

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

PercentCompleteEventArgs Class
PercentCompleteEventArgs Members
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Handling SMO Events