Share via


DistributionArticle.SourceObjectOwner Property

Gets or sets the owner of the database object that provides the article data.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Property SourceObjectOwner As String 
    Get 
    Set
'Usage
Dim instance As DistributionArticle 
Dim value As String 

value = instance.SourceObjectOwner

instance.SourceObjectOwner = value
public string SourceObjectOwner { get; set; }
public:
property String^ SourceObjectOwner {
    String^ get ();
    void set (String^ value);
}
member SourceObjectOwner : string with get, set
function get SourceObjectOwner () : String 
function set SourceObjectOwner (value : String)

Property Value

Type: System.String
A String value.

Remarks

The SourceObjectOwner property cannot be changed for an existing publication.

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

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

See Also

Reference

DistributionArticle Class

Microsoft.SqlServer.Replication Namespace