SetDPMaintenanceMode method in class SMS_DistributionPoint
The SetDPMaintenanceMode
WMI class method in Configuration Manager sets a distribution point in maintenance mode. For more information, see Maintenance mode.
The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
Syntax
uint32 SetDPMaintenanceMode(
[in] string NALPath,
[in] uint32 Mode
);
Parameters
NALPath
Data type: String
Qualifiers: [in]
Network abstraction layer (NAL) path to the distribution point server.
Mode
Data type: uint32
Qualifiers: [in]
1
to enable maintenance mode, 0
to disable
Return values
An uint32
data type that's 0
indicates success. A non-zero hresult indicates failure.
For more information about handling returned errors, see About Configuration Manager errors.
Requirements
Runtime requirements
For more information, see Configuration Manager server runtime requirements.
Development requirements
For more information, see Configuration Manager server development requirements.
See also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho