DsmlSoapHttpConnection.SendRequest 方法
定义
向 DSML 服务器发送一个对象。Sends an object to the DSML server.
重载
| SendRequest(DirectoryRequest) |
SendRequest(DirectoryRequest) 方法发送单个 DirectoryRequest 对象。The SendRequest(DirectoryRequest) method sends a single DirectoryRequest object. |
| SendRequest(DsmlRequestDocument) |
SendRequest(DsmlRequestDocument) 方法向 DSML 服务器发送 DsmlRequestDocument 对象。The SendRequest(DsmlRequestDocument) method sends a DsmlRequestDocument object to the DSML server. |
SendRequest(DirectoryRequest)
SendRequest(DirectoryRequest) 方法发送单个 DirectoryRequest 对象。The SendRequest(DirectoryRequest) method sends a single DirectoryRequest object.
public:
override System::DirectoryServices::Protocols::DirectoryResponse ^ SendRequest(System::DirectoryServices::Protocols::DirectoryRequest ^ request);
public override System.DirectoryServices.Protocols.DirectoryResponse SendRequest (System.DirectoryServices.Protocols.DirectoryRequest request);
override this.SendRequest : System.DirectoryServices.Protocols.DirectoryRequest -> System.DirectoryServices.Protocols.DirectoryResponse
Public Overrides Function SendRequest (request As DirectoryRequest) As DirectoryResponse
参数
- request
- DirectoryRequest
一个包含该请求的 DirectoryRequest 对象。A DirectoryRequest object that contains the request.
返回
一个 DirectoryResponse 对象,它包含该请求的结果。A DirectoryResponse object that contains the results of the request.
例外
request 为 null(在 Visual Basic 中为 Nothing)。request is null (Nothing in Visual Basic).
DSML 服务器返回了错误响应。The DSML server returned an error response.
该操作返回了失败代码。The operation returned a failure code.
适用于
SendRequest(DsmlRequestDocument)
SendRequest(DsmlRequestDocument) 方法向 DSML 服务器发送 DsmlRequestDocument 对象。The SendRequest(DsmlRequestDocument) method sends a DsmlRequestDocument object to the DSML server.
public:
System::DirectoryServices::Protocols::DsmlResponseDocument ^ SendRequest(System::DirectoryServices::Protocols::DsmlRequestDocument ^ request);
public System.DirectoryServices.Protocols.DsmlResponseDocument SendRequest (System.DirectoryServices.Protocols.DsmlRequestDocument request);
override this.SendRequest : System.DirectoryServices.Protocols.DsmlRequestDocument -> System.DirectoryServices.Protocols.DsmlResponseDocument
Public Function SendRequest (request As DsmlRequestDocument) As DsmlResponseDocument
参数
- request
- DsmlRequestDocument
发送到服务器的 DsmlRequestDocument 对象。A DsmlRequestDocument object sent to the server.
返回
一个 DsmlResponseDocument 对象,它包含该请求的结果。A DsmlResponseDocument object that contains the results of the request.
例外
request 为 null(在 Visual Basic 中为 Nothing)。request is null (Nothing in Visual Basic).