Export (0) Print
Expand All

BackupRestoreBase.SetPassword Method (SecureString)

Sets the password for a backup set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

public void SetPassword(
	SecureString value


Type: SecureString
A SecureString value that specifies the password for the backup set.

Use passwords to protect the backup sets if the backup medium is used to back up several databases with different owners.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft