ITsSbProvider::CreateEnvironmentObject method (sbtsv.h)
Creates an ITsSbEnvironment environment object.
Syntax
HRESULT CreateEnvironmentObject(
[in] BSTR Name,
[in] DWORD ServerWeight,
[out] ITsSbEnvironment **ppEnvironment
);
Parameters
[in] Name
A BSTR variable that contains the name of the object to create.
[in] ServerWeight
A DWORD variable that contains the server weight of the object to create.
[out] ppEnvironment
A pointer to a pointer to the newly created environment object. When you have finished using the object, release it by calling the Release method.
Return value
This method can return one of these values.
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT value that indicates the error. Possible values include, but are not limited to, those in the following list.
Remarks
Plug-ins can use this method to create an environment object.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | sbtsv.h |