Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BackupRestoreBase.SetMediaPassword Method (String)

Note: This API is now obsolete.

Sets the password for a media set.

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

public void SetMediaPassword(
	string value


Type: System.String

A String value that specifies the password for the media set.

Use a password to protect the medium when the medium contains one or more backup sets that can be accessed by the same person.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft