共用方式為


IADsServiceOperations::Stop 方法 (iads.h)

IADsServiceOperations::Stop 方法會停止目前作用中的網路服務。

Syntax

HRESULT Stop();

傳回值

這個方法支持標準傳回值,包括S_OK。 如需其他傳回值的詳細資訊,請參閱 ADSI 錯誤碼

規格需求

需求
最低支援的用戶端 Windows Vista
最低支援的伺服器 Windows Server 2008
目標平台 Windows
標頭 iads.h
Dll Activeds.dll

另請參閱

IADsService

IADsServiceOperations