ISProfile.CurrentPartition

Description

This function returns the current partition.

Syntax

object.CurrentPartition

Part Attribute Type Description
object Required
The object always implements the ISProfile interface
Restriction: This property is readonly.

Return Value

ISPartition

Returns the current partition.

Example

Display the name, code and type of the current partition.

Dim aPartition
Dim aMessage
Dim aType

Set aPartition = Profile.CurrentPartition 
aType = aPartition.PartitionType

aMessage = aPartition.Name & " " & "(" & aPartition.Code & "); " & vbNewLine &_
  "Type: " & aType

Profile.MsgBox (aMessage)
Note:

Version information

Added in v7.8.0