SmsSiteConnectionNode.OnSaveCustomData Method
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
'Usage
Dim instance As SmsSiteConnectionNode
Dim status As SyncStatus
Dim returnValue As Byte()
returnValue = instance.OnSaveCustomData(status)
Syntax
'Declaration
Public Function OnSaveCustomData ( _
status As SyncStatus _
) As Byte()
public byte[] OnSaveCustomData (
SyncStatus status
)
public:
array<unsigned char>^ OnSaveCustomData (
SyncStatus^ status
)
public byte[] OnSaveCustomData (
SyncStatus status
)
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
Reference
SmsSiteConnectionNode Class
SmsSiteConnectionNode Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
NamedValueDictionary
NamedValuePersistenceList