다음을 통해 공유


SetPassword 메서드 (String)

Sets the password for a backup set.

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

구문

‘선언
Public Sub SetPassword ( _
    value As String _
)
‘사용 방법
Dim instance As BackupRestoreBase
Dim value As String

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

매개 변수

주의

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