다음을 통해 공유


Script 메서드

Returns a Transact-SQL statement that can be used to execute the referenced backup. 

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

구문

‘선언
Public Function Script ( _
    targetServer As Server _
) As String
‘사용 방법
Dim instance As Backup
Dim targetServer As Server
Dim returnValue As String

returnValue = instance.Script(targetServer)
public string Script(
    Server targetServer
)
public:
String^ Script(
    Server^ targetServer
)
member Script : 
        targetServer:Server -> string 
public function Script(
    targetServer : Server
) : String

매개 변수

반환 값

형식: System. . :: . .String