Share via


IAdminSite::WriteManagerProperties

Ee810119.c++_off(en-US,CS.10).gifEe810119.vb_on(en-US,CS.10).gif

Use this method to write the properties from the specified site Dictionary object to the configuration file of the management page (site\Manager\Config\Site.csc).

Definition

HRESULT IAdminSite::WriteManagerProperties(IDictionary*pIDictProp);

Parameters

pIDictProp

[in] A pointer to the IDictionary interface of the Dictionary object that contains the properties to be written to the configuration file of the management page.

Return Values

This method returns an HRESULT indicating whether or not it completed successfully. See the Error Values section for more details.

Error Values

This method returns S_OK (0x00000000) to indicate success and standard COM HRESULT error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object, which can be accessed using the API function GetErrorInfo. In particular, the GetDescription method of the IErrorInfo interface may return a text description of the error.

Remarks

The manager site dictionary properties are DefaultConnectionString and ConnectionStringMap. These properties are distinct from the corresponding properties in the main site configuration. This means that the password and user name information required to access site management pages can be different from those used in user pages.

See Also

AdminSite Object

IAdminSite::ReadManagerProperties

IAdminSite::WriteDefaultProperties


All rights reserved.