CopyElementsIntoEnterprise Method of the IFPCEEArray Interface
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.
C++
Syntax
HRESULT CopyElementsIntoEnterprise(
[in] long Elements
);
Parameters
- Elements
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
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Visual Basic
Syntax
Sub CopyElementsIntoEnterprise( _
ByVal Elements As Long _
)
Parameters
- Elements
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
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
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