다음을 통해 공유


MergePublication.UsesHostName Property

Gets whether the merge publication has a parameterized row filter that uses the HOST_NAME function to evaluate the partition.

네임스페이스: Microsoft.SqlServer.Replication
어셈블리: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

구문

‘선언
Public ReadOnly Property UsesHostName As Boolean
public bool UsesHostName { get; }
public:
property bool UsesHostName {
    bool get ();
}
/** @property */
public boolean get_UsesHostName ()
public function get UsesHostName () : boolean

속성 값

A Boolean value. If true, the merge publication uses the HOST_NAME function to evaluate the partition. If false, the merge publication does not use the HOST_NAME function to evaluate the partition.

예외

예외 유형 상태
ApplicationException

When the publication does not exist at the Publisher.

When the version is not Microsoft SQL Server 2005 or later.

주의

The UsesHostName property can be retrieved by members of the db_owner or replmonitor fixed database roles on the publication database or by members of the publication access list (PAL) for the publication.

Retrieving UsesHostName is equivalent to executing sp_helpmergepublication.

The UsesHostName property is available with SQL Server 2005.

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

스레드 보안

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

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

MergePublication Class
MergePublication Members
Microsoft.SqlServer.Replication Namespace