Export (0) Print
Expand All

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)

[ObsoleteAttribute]
public void SetMediaPassword(
	SecureString value
)

Parameters

value
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

ADD
Show:
© 2014 Microsoft