Handles a notification of a save operation for custom data by serializing a list of string or integer named values to the database for later restoration. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim instance As SmsSiteConnectionNode
Dim status As SyncStatus
Dim returnValue As Byte()

returnValue = instance.OnSaveCustomData(status)

Syntax

Visual Basic
Public Function OnSaveCustomData ( _
		status As SyncStatus _
) As Byte()
C#
public byte[] OnSaveCustomData (
		SyncStatus status
)
C++
public:
array<unsigned char>^ OnSaveCustomData (
		SyncStatus^ status
)
J#
public byte[] OnSaveCustomData (
		SyncStatus status
)
JScript
public function OnSaveCustomData (
		status : SyncStatus
) : byte[]

Parameters

status

[in] Microsoft.ManagementConsole.SyncStatus object.

Return Value

Array of custom data.

Remarks

This method obtains the list of named values to persist from the application setting for NamedValuePersistenceList.

Your application uses the NamedValueDictionary property to retrieve a dictionary of named values for the site connection node.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also