SaveToStorageFile Method (DTS)

The SaveToStorageFile method saves the information being held in the Package object to a structured storage file. This includes information held in the objects and collections that belong to the Package object.

Applies To
Package Object  

Syntax

object.SaveToStorageFile(
[UNCFile],
[OwnerPassword],
[OperatorPassword],
[pVarPersistStgOfHost],
[bReusePasswords])

Part Description
Package Expression that evaluates to an object in the Applies To list
UNCFile File name
OwnerPassword Owner password
OperatorPassword Operator password
pVarPersistStgOfHost Screen layout information associated with a package (for internal use)
bReusePasswords Whether to reuse a password

Remarks

The default for bReusePassword is True.

Prototype (C/C++)

HRESULT SaveToStorageFile(
BSTR UNCFile,
BSTR OwnerPassword
BSTR OperatorPassword
VARIANT *pVarPersistStgOfHost
VARIANT_BOOL bReusePasswords;

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.