Partager via


StorageManager.GetInitializeStorageRequest Method (Boolean, Boolean)

 

Returns a request object that is used to initialize storage.

Namespace:   Microsoft.WindowsServerSolutions.Storage
Assembly:  StorageOM (in StorageOM.dll)

Syntax

public InitializeStorageRequest GetInitializeStorageRequest(
    bool readConfig,
    bool retainData
)
public:
InitializeStorageRequest^ GetInitializeStorageRequest(
    bool readConfig,
    bool retainData
)
Public Function GetInitializeStorageRequest (
    readConfig As Boolean,
    retainData As Boolean
) As InitializeStorageRequest

Parameters

  • readConfig
    Type: System.Boolean

    true to read the configuration from the registry; otherwise, false.

  • retainData
    Type: System.Boolean

    true to retain data in the configuration; otherwise, false.

Return Value

Type: Microsoft.WindowsServerSolutions.Storage.InitializeStorageRequest

An instance of InitializeStorageRequest.

See Also

StorageManager Class
Microsoft.WindowsServerSolutions.Storage Namespace

Return to top