IFPCEEArray::CopyElementsIntoEnterprise method
Applies to: desktop apps only
The CopyElementsIntoEnterprise method copies specified array rule elements into the enterprise configuration. The following categories of rule elements can be copied.
- All schedules (FPCSchedule objects) defined in the array.
- All protocols (FPCProtocolDefinition objects) defined in the array.
- All URL sets (FPCURLSet collections) defined in the array.
- All domain name sets (FPCDomainNameSet collections) defined in the array.
- All content type sets (FPCContentTypeSet collections) defined in the array.
- All user sets (FPCUserSet objects) defined in the array.
- All computers (FPCComputer objects) defined in the array.
- All address ranges (FPCAddressRange objects) defined in the array.
- All subnets (FPCSubnet objects) defined in the array.
- All computer sets (FPCComputerSet objects) defined in the array.
- All networks (FPCNetwork objects) defined in the array.
Syntax
HRESULT CopyElementsIntoEnterprise(
[in] long Elements,
[in] Long Elements
);
FPCArray.CopyElementsIntoEnterprise( _
ByVal Elements As long, _
ByVal Elements As Long _
)
Parameters
Elements [in]
C++ A 32-bit integer that specifies the types of rule elements to be copied. This value can be any bitwise combination of values from the FpcCopyElementsType enumerated type.
VB A 32-bit integer that specifies the types of rule elements to be copied. This value can be any bitwise combination of values from the FpcCopyElementsType enumerated type.
Return value
C++
This method returns S_OK if the call is successful; otherwise, it returns an error code.
VB
This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
Remarks
This method is applicable only when an enterprise with central array management is deployed.
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
Build date: 7/12/2010