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 available only in Forefront TMG Enterprise Edition.
Requirements
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
DLL | Requires Msfpccom.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010