Enterprise Property of the IFPCEE Interface

The Enterprise property gets an FPCEnterprise object that represents the Forefront TMG enterprise within the root object.

[C++]
HRESULT get_Enterprise(
	IFPCEEEnterprise** ppEnterprise
);

Parameters

ppEnterprise

Address of an interface pointer that on return points to an IFPCEEEnterprise interface that represents the Forefront TMG enterprise within the root object.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

[Visual Basic]
Property Enterprise As FPCEnterprise

Property Value

Reference to an FPCEnterprise object that represents the Forefront TMG enterprise within the root object.

Example Code

This VBScript script retrieves the enterprise object. It does not include error handling.
Option Explicit
Dim root		' An FPC object
Dim enterprise  ' An FPCEnterprise object
'Create the enterprise root Forefront TMG object
Set root = CreateObject("FPC.Root")
'Get the enterprise object
Set enterprise = root.Enterprise

Remarks

This property is read-only.

This property is not available in Forefront TMG Medium Business Edition.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPC


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.