다음을 통해 공유


SqlSyncDescriptionBuilder.GetDescriptionForScope 메서드 (String, String, String, SqlConnection)

SQL Server 데이터베이스에 대해 정의된 지정한 범위에 대한 정보가 포함된 DbSyncScopeDescription 개체를 반환합니다.

네임스페이스: Microsoft.Synchronization.Data.SqlServer
어셈블리: microsoft.synchronization.data.sqlserver.dll의 Microsoft.Synchronization.Data.SqlServer

구문

‘선언
Public Shared Function GetDescriptionForScope ( _
    scopeName As String, _
    objectPrefix As String, _
    objectSchema As String, _
    connection As SqlConnection _
) As DbSyncScopeDescription
‘사용 방법
Dim scopeName As String
Dim objectPrefix As String
Dim objectSchema As String
Dim connection As SqlConnection
Dim returnValue As DbSyncScopeDescription

returnValue = SqlSyncDescriptionBuilder.GetDescriptionForScope(scopeName, objectPrefix, objectSchema, connection)
public static DbSyncScopeDescription GetDescriptionForScope (
    string scopeName,
    string objectPrefix,
    string objectSchema,
    SqlConnection connection
)
public:
static DbSyncScopeDescription^ GetDescriptionForScope (
    String^ scopeName, 
    String^ objectPrefix, 
    String^ objectSchema, 
    SqlConnection^ connection
)
public static DbSyncScopeDescription GetDescriptionForScope (
    String scopeName, 
    String objectPrefix, 
    String objectSchema, 
    SqlConnection connection
)
public static function GetDescriptionForScope (
    scopeName : String, 
    objectPrefix : String, 
    objectSchema : String, 
    connection : SqlConnection
) : DbSyncScopeDescription

매개 변수

  • scopeName
    설명을 검색할 범위의 이름입니다.
  • objectPrefix
    Sync Framework에서 만드는 개체를 식별하는 데 사용되는 선택적 접두사입니다.
  • objectSchema
    Sync Framework에서 개체를 만드는 데이터베이스 스키마입니다.
  • connection
    데이터베이스에 대한 연결이 포함된 SqlConnection 개체입니다.

반환 값

지정된 범위에 대한 정보가 포함된 DbSyncScopeDescription 개체입니다.

참고 항목

참조

SqlSyncDescriptionBuilder 클래스
SqlSyncDescriptionBuilder 멤버
Microsoft.Synchronization.Data.SqlServer 네임스페이스