Script Método
Returns a Transact-SQL statement that can be used to execute the referenced backup.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Sintaxis
'Declaración
Public Function Script ( _
targetServer As Server _
) As String
'Uso
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
Parámetros
- targetServer
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Server
Valor devuelto
Tipo: System. . :: . .String
Vea también