The SourceType property returns the type of the source of the error information.
语法
object.SourceType [= value]
| Part | Description | 
|---|---|
| object | Expression that evaluates to a SQLReplError object. | 
| value | Value from the ERRORSOURCE_TYPE enumeration. | 
Applies To
SQLReplError Object (Replication ActiveX)
Data Type
ERRORSOURCE_TYPE (Replication ActiveX)
Modifiable
Read-only
Prototype (C/C++)
HRESULT SourceType(ERRORSOURCE_TYPE pVal);
HRESULT SourceType(ERRORSOURCE_TYPE* pVal);
请参阅
参考
Description Property (Replication ActiveX)
ErrorNumber Property (Replication ActiveX)
ErrorNumberString Property (Replication ActiveX)
Source Property (Replication ActiveX)