SetMediaPassword 메서드 (SecureString)
Sets the password for a media set.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.SmoExtended.dll의 Microsoft.SqlServer.SmoExtended
구문
‘선언
Public Sub SetMediaPassword ( _
value As SecureString _
)
‘사용 방법
Dim instance As BackupRestoreBase
Dim value As SecureString
instance.SetMediaPassword(value)
public void SetMediaPassword(
SecureString value
)
public:
void SetMediaPassword(
SecureString^ value
)
member SetMediaPassword :
value:SecureString -> unit
public function SetMediaPassword(
value : SecureString
)
매개 변수
- value
형식: System.Security. . :: . .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.