共用方式為


DistributionPublisher.PublisherType Property

Definition

Gets or sets the Publisher type.

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

Property Value

The Publisher type.

Remarks

Valid values for PublisherType are "MSSQLSERVER", "ORACLE", and "ORACLE GATEWAY". The default value is "MSSQLSERVER".

The PublisherType property should only be used with a non-SQL Server Publisher.

The PublisherType property cannot be set for an existing Publisher.

The PublisherType property can only be retrieved by members of the sysadmin fixed server role at the Distributor.

The PublisherType property can only be set by members of the sysadmin fixed server role at the Distributor.

Retrieving the PublisherType property is equivalent to executing sp_helpdistpublisher.

Setting the PublisherType property is equivalent to executing sp_adddistpublisher.

Applies to