Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetMediaPassword Method (SecureString)
Collapse the table of content
Expand the table of content

BackupRestoreBase.SetMediaPassword Method (SecureString)

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)

member SetMediaPassword : 
        value:SecureString -> unit


Type: SecureString
A SecureString 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.

Community Additions

© 2015 Microsoft