Partager via


Type propriété

Gets the type of replication in which the publication participates.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (dans Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Type As PublicationType
    Get
'Utilisation
Dim instance As PublicationMonitor
Dim value As PublicationType

value = instance.Type
public PublicationType Type { get; }
public:
property PublicationType Type {
    PublicationType get ();
}
member Type : PublicationType
function get Type () : PublicationType

Notes

The Type property can only be retrieved by members of the sysadmin fixed server role at the Distributor or by members of the db_owner or replmonitor fixed database roles on the distribution database.

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