Partilhar via


SmsSnapInBase.OnSaveCustomData Method

Handles a notification from Microsoft Management Console that custom data is saved, and persists any user setting data for the snap-in.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim status As SyncStatus
Dim returnValue As Byte()

returnValue = Me.OnSaveCustomData(status)

Syntax

'Declaration
Protected Overrides Function OnSaveCustomData ( _
    status As SyncStatus _
) As Byte()
protected override byte[] OnSaveCustomData (
    SyncStatus status
)
protected:
virtual array<unsigned char>^ OnSaveCustomData (
    SyncStatus^ status
) override
protected byte[] OnSaveCustomData (
    SyncStatus status
)
protected override function OnSaveCustomData (
    status : SyncStatus
) : byte[]

Parameters

  • status
    [in] Microsoft.ManagementConsole.SyncStatus object that indicates the status of the operation.

Return Value

Array of custom data.

Remarks

Your application must override this method in a derived class.

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

SmsSnapInBase Class
SmsSnapInBase Members
Microsoft.ConfigurationManagement.AdminConsole Namespace