다음을 통해 공유


SetPassword 메서드 (SecureString)

Sets the password for a backup set.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.SmoExtended.dll의 Microsoft.SqlServer.SmoExtended

구문

‘선언
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.