Partager via


SnapIn::Version property

The Version property returns the version, in string form, of the snap-in. If the version is not available, then this property returns an empty string. This property is read-only.

Syntax

Property Version As String

Property value

The snap-in's version, in string form. If the version is not available, then the return value is an empty string.

Examples

' Retrieve and display the snap-in version.
Dim strVrsn As String
strVrsn = objSnap.Version
MsgBox ("Version: " & strVrsn)

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmcndmgr.dll
IID
IID_SnapIn is defined as 3BE910F6-3459-49C6-A1BB-41E6BE9DF3EA

See also

SnapIn.Name

SnapIn.SnapinCLSID

SnapIn.Vendor