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

BackupRestoreBase.SetPassword Method (String)

Sets the password for a backup set.

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

'Declaration
Public Sub SetPassword ( _
	value As String _
)
'Usage
Dim instance As BackupRestoreBase 
Dim value As String

instance.SetPassword(value)

Parameters

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

Community Additions

ADD
Show:
© 2015 Microsoft