Partilhar via


_Application::Load method

The Load method loads the MMC document from the specified file.

Syntax

Application.Load( _
  ByVal FileName As String _
)

Parameters

FileName

Name of the file that contains the MMC document.

Return value

This method does not return a value.

Examples

' Load a console file.
objMMC.Load("d:\myapp\console1.msc")

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
CLSID
CLSID_Application is defined as 49B2791A-B1AE-4C90-9B8E-E860BA07F889
IID
IID__Application is defined as A3AFB9CC-B653-4741-86AB-F0470EC1384C