Share via


IFPCEE::Enterprise property

Applies to: desktop apps only

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

This property is read-only.

Syntax

HRESULT get_Enterprise(
  IFPCEEEnterprise **ppEnterprise
);
' Data type: FPCEnterprise

Property Enterprise( _
  ByVal ppEnterprise As IFPCEEEnterprise _
) As FPCEnterprise

Property value

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

Error codes

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

Remarks

This property is read-only.

This property is available only in Forefront TMG Enterprise Edition.

Examples

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

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPC

 

 

Build date: 7/12/2010