共用方式為


Version 屬性

Gets the version of the log provider.

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Overridable ReadOnly Property Version As Integer
    Get
'用途
Dim instance As LogProviderBase
Dim value As Integer

value = instance.Version
public virtual int Version { get; }
public:
virtual property int Version {
    int get ();
}
abstract Version : int
override Version : int
function get Version () : int

屬性值

型別:System. . :: . .Int32
The integer version information for a log provider.

備註

You use this property to provide version information for your log provider. This property is used in conjunction with the CanUpdate and Update methods.