共用方式為


DistributionSubscription.PublicationName Property

Definition

Gets or sets the name of the publication to which the subscription belongs.

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

Property Value

The name of the publication to which the subscription belongs.

Remarks

This property cannot be set for an existing subscription.

The PublicationName property can only be retrieved by members of the db_owner fixed database role on the distribution database.

The PublicationName property can be set by any user.

Applies to