This topic has not yet been rated - Rate this topic

DistributionPublisher.Name Property

Gets or sets the name of the Publisher instance of Microsoft SQL Server.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
public string Name { get; set; }

Property Value

Type: System.String
The name of the Publisher.

Name is a required property. You must set this property before calling Create, Load, or LoadProperties.

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

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

Retrieving the Name property is equivalent to executing sp_helpdistpublisher.

Setting the Name property is equivalent to executing sp_adddistpublisher.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.