다음을 통해 공유


ReplicationServer.ChangeDistributorPassword Method (SecureString)

Changes the Distributor password, where the new password is supplied as a SecureString object.

네임스페이스: Microsoft.SqlServer.Replication
어셈블리: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

구문

‘선언
Public Sub ChangeDistributorPassword ( _
    password As SecureString _
)
public void ChangeDistributorPassword (
    SecureString password
)
public:
void ChangeDistributorPassword (
    SecureString^ password
)
public void ChangeDistributorPassword (
    SecureString password
)
public function ChangeDistributorPassword (
    password : SecureString
)

매개 변수

  • password
    The new Distributor password is a SecureString value.

    ms151533.security(ko-kr,SQL.90).gif보안 정보:
    When possible, prompt users to enter security credentials at run time. If you must store credentials, use the cryptographic services provided by the Windows .NET Framework.

주의

The DistributorInstalled property must be true to set this property.

The ChangeDistributorPassword(SecureString) method provides additional security for the password while it is stored in memory and should be used instead of ChangeDistributorPassword(String).

The ChangeDistributorPassword method can be called by members of the sysadmin fixed server role at the Distributor.

The ChangeDistributorPassword method is equivalent to the sp_changedistributor_password(Transact-SQL) stored procedure.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

ReplicationServer Class
ReplicationServer Members
Microsoft.SqlServer.Replication Namespace