Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method retrieves the value of the Domain property, which specifies the domain the current control is connected to.
HRESULT get_Domain(BSTR* pDomain);
Parameters
- pDomain
[out] A pointer to the value of the Domain property.
Return Values
If the method succeeds, the return value is S_OK.
If it fails, the method returns a nonzero error code.
Remarks
This method allocates the memory for the buffer pointed to by pDomain. C/C++ applications must call the SysFreeString function to free the memory. This is not required for Visual Basic clients.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.
See Also
IMsTscAx | IMsTscAx::put_Domain
Send Feedback on this topic to the authors