次の方法で共有


ExportRange method of the MSFT_IPAM_Range class

Exports a set of IP address ranges from IPAM to a CSV file.

Syntax

uint32 ExportRange(
  [in]  string          Path,
  [in]  uint16          AddressType,
  [in]  uint16          NetworkType,
  [in]  string          AddressSpace,
  [out] MSFT_IPAM_Range Output[]
);

Parameters

Path [in]

The literal path and filename of the CSV file.

AddressType [in]

Indicates the format of the IP addresses and masks within the range.

The possible values are:

0

Unknown

1

IPv4

2

IPv6

NetworkType [in]

The network type of the address range.

The possible values are:

1

NonVirtualized

2

Provider

3

Customer

AddressSpace [in]

The name of the address space associated with the address range.

Output [out]

When this method returns, this parameter contains an array of the exported address range objects.

Return value

Returns 0 on success, otherwise returns a WMI error code.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\IPAM
MOF
IPAMServerPSProvider.mof
DLL
IPAMServerPSProvider.dll

See also

MSFT_IPAM_Range