다음을 통해 공유


SetTargetServerVersion 메서드

Sets the version of the instance of SQL Server on which the scripting operation is run.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Sub SetTargetServerVersion ( _
    ver As ServerVersion _
)
‘사용 방법
Dim instance As ScriptingOptions
Dim ver As ServerVersion

instance.SetTargetServerVersion(ver)
public void SetTargetServerVersion(
    ServerVersion ver
)
public:
void SetTargetServerVersion(
    ServerVersion^ ver
)
member SetTargetServerVersion : 
        ver:ServerVersion -> unit 
public function SetTargetServerVersion(
    ver : ServerVersion
)

매개 변수

예제

스크립팅