共用方式為


Type 屬性

Gets the type of replication in which the publication participates.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public ReadOnly Property Type As PublicationType
    Get
'用途
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

備註

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.