ReplicationServer.DistributionServer 속성

Gets or sets the name of the Distributor for the currently connected instance of SQL Server.

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

public string DistributionServer { get; set; }

속성 값

유형: System.String
A String value that specifies the instance of SQL Server that is the Distributor.

예외조건
ArgumentException

When the string is null, is improperly formatted, or exceeds 128 bytes.

The DistributionServer property is equivalent to the sp_get_distributor(Transact-SQL) stored procedure.

The DistributionServer property can be retrieved by the public fixed database role.

The DistributionServer property can be set only by the sysadmin fixed server role.

커뮤니티 추가 항목

추가
표시: