DistributionPublisher.Name Property
SQL Server 2012
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)
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.
