Поделиться через


Метод SetPassword (SecureString)

Sets the password for a backup set.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.SmoExtended (в Microsoft.SqlServer.SmoExtended.dll)

Синтаксис

'Декларация
Public Sub SetPassword ( _
    value As SecureString _
)
'Применение
Dim instance As BackupRestoreBase
Dim value As SecureString

instance.SetPassword(value)
public void SetPassword(
    SecureString value
)
public:
void SetPassword(
    SecureString^ value
)
member SetPassword : 
        value:SecureString -> unit 
public function SetPassword(
    value : SecureString
)

Параметры

Замечания

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