Dela via


PublicationAccess Class

Represents login information in the publication access list (PAL) for a publication.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Replication.PublicationAccess

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

Syntax

'Declaration
Public NotInheritable Class PublicationAccess
'Usage
Dim instance As PublicationAccess
public sealed class PublicationAccess
public ref class PublicationAccess sealed
[<SealedAttribute>]
type PublicationAccess =  class end
public final class PublicationAccess

The PublicationAccess type exposes the following members.

Constructors

  Name Description
Public method PublicationAccess Creates a new instance of the PublicationAccess class.

Top

Properties

  Name Description
Public property IsWindowsGroup Gets if the login is a Microsoft Windows group that has access to the publication.
Public property IsWindowsLogin Gets if the login is a Microsoft Windows login that has access to the publication.
Public property LoginName Gets the user or group that has a login to the Publisher and is granted access to a publication.
Public property UserData Gets or sets an object that allows users to attach their own data to this object.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Replication Namespace