Metodo Script
Returns a Transact-SQL statement that can be used to execute the referenced backup.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Sintassi
'Dichiarazione
Public Function Script ( _
targetServer As Server _
) As String
'Utilizzo
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
Parametri
- targetServer
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Server
Valore restituito
Tipo: System. . :: . .String
Vedere anche