ReplicationServer.DistributionServer 속성

정의

현재 연결된 SQL Server 인스턴스의 배포자 이름을 가져오거나 설정합니다.

public:
 property System::String ^ DistributionServer { System::String ^ get(); void set(System::String ^ value); };
public string DistributionServer { get; set; }
member this.DistributionServer : string with get, set
Public Property DistributionServer As String

속성 값

String 배포자인 SQL Server 인스턴스를 지정하는 값입니다.

예외

문자열이 null이거나, 형식이 잘못 지정되었거나, 128바이트를 초과하는 경우

설명

DistributionServer 속성은 sp_get_distributor(Transact-SQL) 저장 프로시저와 동일합니다.

공용 DistributionServer 고정 데이터베이스 역할에서 속성을 검색할 수 있습니다.

이 속성은 DistributionServer sysadmin 고정 서버 역할에 의해서만 설정할 수 있습니다.

적용 대상