BackupRestoreBase.PercentCompleteNotification 속성
PercentCompleteEventHandler 이벤트 처리기 호출의 백분율 간격을 가져오거나 설정합니다.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.SmoExtended(Microsoft.SqlServer.SmoExtended.dll)
구문
‘선언
Public Property PercentCompleteNotification As Integer
Get
Set
‘사용 방법
Dim instance As BackupRestoreBase
Dim value As Integer
value = instance.PercentCompleteNotification
instance.PercentCompleteNotification = value
public int PercentCompleteNotification { get; set; }
public:
property int PercentCompleteNotification {
int get ();
void set (int value);
}
member PercentCompleteNotification : int with get, set
function get PercentCompleteNotification () : int
function set PercentCompleteNotification (value : int)
속성 값
유형: System.Int32
이벤트 처리기 호출의 백분율 간격을 지정하는 Int32입니다.기본값은 10입니다.
주의
기본값 10의 경우 완료된 태스크의 매 10%마다 PercentCompleteEventHandler가 호출됩니다. 이벤트가 발생한 후에 백업 또는 복원 프로시저에서 즉시 프로세스를 이벤트 처리기로 보내지 않는 경우 이벤트 처리기가 약간 나중에 보고할 수 있습니다.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스