Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit b243840

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/sql-docs-pr into release-sqlseattle
2 parents 27a6230 + 90ce7fa commit b243840

6 files changed

Lines changed: 158 additions & 152 deletions

File tree

docs/linux/sql-server-linux-manage-powershell.md

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ ms.assetid: a3492ce1-5d55-4505-983c-d6da8d1a94ad
1515

1616
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-linuxonly](../includes/appliesto-ss-xxxx-xxxx-xxx-md-linuxonly.md)]
1717

18-
This article introduces [SQL Server PowerShell](https://msdn.microsoft.com/library/mt740629.aspx) and walks you through a couple of examples on how to use it with SQL Server on Linux. PowerShell support for SQL Server is currently available on Windows, so you can use it when you have a Windows machine that can connect to a remote SQL Server instance on Linux.
18+
This article introduces [SQL Server PowerShell](../powershell/sql-server-powershell.md) and walks you through a couple of examples on how to use it with SQL Server on Linux. PowerShell support for SQL Server is currently available on Windows, so you can use it when you have a Windows machine that can connect to a remote SQL Server instance on Linux.
1919

2020
## Install the newest version of SQL PowerShell on Windows
2121

22-
[SQL PowerShell](https://msdn.microsoft.com/library/mt740629.aspx) on Windows is included with [SQL Server Management Studio (SSMS)](../ssms/sql-server-management-studio-ssms.md). When working with SQL Server, you should always use the most recent version of SSMS and SQL PowerShell. The latest version of SSMS is continually updated and optimized and currently works with SQL Server on Linux. To download and install the latest version, see [Download SQL Server Management Studio](../ssms/download-sql-server-management-studio-ssms.md). To stay up-to-date, the latest version of SSMS prompts you when there is a new version available to download.
22+
[SQL PowerShell](../powershell/download-sql-server-ps-module.md) on Windows is maintained in the PowerShell Gallery. When working with SQL Server, you should always use the most recent version of the SqlServer PowerShell module.
2323

2424
## Before you begin
2525

@@ -52,8 +52,7 @@ PowerShell should display information similar to the following output:
5252
```
5353
ModuleType Version Name ExportedCommands
5454
---------- ------- ---- ----------------
55-
Script 0.0 SqlServer
56-
Manifest 20.0 SqlServer {Add-SqlAvailabilityDatabase, Add-SqlAvailabilityGroupList...
55+
Script 21.1.18102 SqlServer {Add-SqlAvailabilityDatabase, Add-SqlAvailabilityGroupList...
5756
```
5857

5958
## Connect to SQL Server and get server information
@@ -62,7 +61,6 @@ Let's use PowerShell on Windows to connect to your SQL Server instance on Linux
6261

6362
Copy and paste the following commands at the PowerShell prompt. When you run these commands, PowerShell will:
6463
- Display the *Windows PowerShell credential request* dialog that prompts you for the credentials (*SQL username* and *SQL password*) to connect to your SQL Server instance on Linux
65-
- Load the SQL Server Management Objects (SMO) assembly
6664
- Create an instance of the [Server](https://msdn.microsoft.com/library/microsoft.sqlserver.management.smo.server.aspx) object
6765
- Connect to the **Server** and display a few properties
6866

@@ -73,26 +71,17 @@ Remember to replace **\<your_server_instance\>** with the IP address or the host
7371
$serverInstance = "<your_server_instance>"
7472
$credential = Get-Credential
7573
76-
# Load the SMO assembly and create a Server object
77-
[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') | out-null
78-
$server = New-Object ('Microsoft.SqlServer.Management.Smo.Server') $serverInstance
79-
80-
# Set credentials
81-
$server.ConnectionContext.LoginSecure=$false
82-
$server.ConnectionContext.set_Login($credential.UserName)
83-
$server.ConnectionContext.set_SecurePassword($credential.Password)
84-
8574
# Connect to the Server and get a few properties
86-
$server.Information | Select-Object Edition, HostPlatform, HostDistribution | Format-List
75+
Get-SqlInstance -ServerInstance $serverInstance -Credential $credential
8776
# done
8877
```
8978

9079
PowerShell should display information similar to the following output:
9180

9281
```
93-
Edition : Developer Edition (64-bit)
94-
HostPlatform : Linux
95-
HostDistribution : Ubuntu
82+
Instance Name Version ProductLevel UpdateLevel HostPlatform HostDistribution
83+
------------- ------- ------------ ----------- ------------ ----------------
84+
your_server_instance 14.0.3048 RTM CU13 Linux Ubuntu
9685
```
9786
> [!NOTE]
9887
> If nothing is displayed for these values, the connection to the target SQL Server instance most likely failed. Make sure that you can use the same connection information to connect from SQL Server Management Studio. Then review the [connection troubleshooting recommendations](sql-server-linux-troubleshooting-guide.md#connection).

docs/reporting-services/report-design/define-colors-on-a-chart-using-a-palette-report-builder-and-ssrs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ author: maggiesMSFT
1212
ms.author: maggies
1313
---
1414
# Define Colors on a Chart Using a Palette (Report Builder and SSRS)
15-
You can change the color palette for a chart by selecting a pre-defined palette or defining a custom palette. Custom palettes are report-specific.
15+
You can change the color palette for a chart by selecting a pre-defined palette or defining a custom palette. Custom palettes are chart-specific.
1616

1717
> [!NOTE]
1818
> [!INCLUDE[ssRBRDDup](../../includes/ssrbrddup-md.md)]
Lines changed: 93 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,93 @@
1-
---
2-
title: "Add a Snapshot to Report History (Report Manager) | Microsoft Docs"
3-
ms.prod: "reporting-services-2014"
4-
ms.technology: "reporting-services-native"
5-
ms.topic: conceptual
6-
author: maggiesMSFT
7-
ms.author: maggies
8-
manager: kfile
9-
ms.reviewer: ""
10-
helpviewer_keywords:
11-
- "report history [Reporting Services], adding snapshots"
12-
- "historical data [Reporting Services]"
13-
- "snapshots [Reporting Services], adding report snapshots"
14-
- "adding snapshots to report history"
15-
- "report snapshots [Reporting Services], adding"
16-
ms.custom: ""
17-
ms.date: 04/19/2019
18-
---
19-
20-
# Add a Snapshot to Report History (Report Manager)
21-
22-
Report history is a collection of report snapshots that you create over time. A report snapshot is a report that contains layout information and query results that were retrieved at a specific point in time. Unlike on-demand reports, which get up-to-date query results when you select the report, report snapshots are processed on a schedule and then saved to a report server. When you select a report snapshot for viewing, the report server retrieves the stored report from the report server database and shows the data and layout that were current for the report at the time the snapshot was created.
23-
24-
Report snapshots are not saved in a particular rendering format. Instead, report snapshots are rendered in a final viewing format (such as HTML) only when a user or an application requests it. Deferred rendering makes a snapshot portable. The report can be rendered in the correct format for the requesting device or Web browser.
25-
26-
## To manually add snapshots to report history
27-
28-
::: moniker range="<=sql-server-2016||=sqlallproducts-allversions"
29-
30-
1. In Report Manager, navigate to the **Contents** page, and hover over the item that you want to view history for, and click the drop-down arrow.
31-
32-
2. In the drop-down menu, click **View Report History**.
33-
34-
3. Click **New Snapshot**. A new snapshot is created in the **When Run** column.
35-
36-
> [!NOTE]
37-
> In order to do this, the report history must be configured by the administrator to **Allow history to be created manually**. For more information, see [Limit Report History &#40;Report Manager&#41;](../reports/limit-report-history-report-manager.md).
38-
39-
4. Click **Apply**.
40-
41-
::: moniker-end
42-
43-
::: moniker range=">=sql-server-2017||=sqlallproducts-allversions"
44-
45-
1. In Report Manager, navigate to the **Contents** page, and hover over the item that you want to view history for, and click the ellipses (...).
46-
47-
2. In the drop-down menu, click **View Report History**.
48-
49-
3. Click **New history snapshot**. A new snapshot is created and listed.
50-
51-
> [!NOTE]
52-
> In order to do this, the report history must be configured by the administrator to **Allow history to be created manually**. For more information, see [Limit Report History &#40;Report Manager&#41;](../../reporting-services/reports/limit-report-history-report-manager.md).
53-
54-
4. Click **Apply**.
55-
56-
::: moniker-end
57-
58-
### To automatically add all snapshots to report history
59-
60-
1. For a report that is already configured to run as a report execution snapshot, you can set additional properties to save a copy of the snapshot to report history each time the snapshot is refreshed.
61-
62-
2. In Report Manager, navigate to the **Contents** page, hover over the item that you want to view history for, and click the drop-down arrow.
63-
64-
3. In the drop-down menu, click **Manage**.
65-
66-
4. Click **Snapshot Options**.
67-
68-
5. Select the check box for **Store all report execution snapshots in history**.
69-
70-
6. Click **Apply**.
71-
72-
### To automatically add snapshots to report history based on a schedule
73-
74-
1. In Report Manager, navigate to the **Contents** page, and hover over the item that you want to view history for, and click the drop-down arrow.
75-
76-
2. In the drop-down menu, click **Manage**.
77-
78-
3. Click **Snapshot Options**.
79-
80-
4. Select the check box for **Use the following schedule to add snapshots to report history**. Perform one of the following:
81-
82-
- Select **Report-specific schedule**. Fill in the schedule details, select the start and end dates for the schedule, and then click **OK**.
83-
84-
- Select **Shared schedule**. From the list, select the preferred schedule.
85-
86-
5. Click **Apply**.
87-
88-
## See Also
89-
90-
- [Configure Execution Properties for a Report &#40;Report Manager&#41;](../../reporting-services/reports/configure-execution-properties-for-a-report-report-manager.md)
91-
- [Open and Close a Report &#40;Report Manager&#41;](../../reporting-services/reports/open-and-close-a-report-report-manager.md)- [Limit Report History &#40;Report Manager&#41;](../../reporting-services/reports/limit-report-history-report-manager.md)
92-
- [Schedules](../../reporting-services/subscriptions/schedules.md)
93-
- [Report Manager &#40;SSRS Native Mode&#41;](https://msdn.microsoft.com/library/80949f9d-58f5-48e3-9342-9e9bf4e57896)
1+
---
2+
title: "Add a Snapshot to Report History (Report Manager) | Microsoft Docs"
3+
ms.prod: "reporting-services-2014"
4+
ms.technology: "reporting-services-native"
5+
ms.topic: conceptual
6+
author: maggiesMSFT
7+
ms.author: maggies
8+
manager: kfile
9+
ms.reviewer: ""
10+
helpviewer_keywords:
11+
- "report history [Reporting Services], adding snapshots"
12+
- "historical data [Reporting Services]"
13+
- "snapshots [Reporting Services], adding report snapshots"
14+
- "adding snapshots to report history"
15+
- "report snapshots [Reporting Services], adding"
16+
ms.custom: ""
17+
ms.date: 04/19/2019
18+
---
19+
20+
# Add a Snapshot to Report History (Report Manager)
21+
22+
Report history is a collection of report snapshots that you create over time. A report snapshot is a report that contains layout information and query results that were retrieved at a specific point in time. Unlike on-demand reports, which get up-to-date query results when you select the report, report snapshots are processed on a schedule and then saved to a report server. When you select a report snapshot for viewing, the report server retrieves the stored report from the report server database and shows the data and layout that were current for the report at the time the snapshot was created.
23+
24+
Report snapshots are not saved in a particular rendering format. Instead, report snapshots are rendered in a final viewing format (such as HTML) only when a user or an application requests it. Deferred rendering makes a snapshot portable. The report can be rendered in the correct format for the requesting device or Web browser.
25+
26+
## To manually add snapshots to report history
27+
28+
::: moniker range="<=sql-server-2016||=sqlallproducts-allversions"
29+
30+
1. In Report Manager, navigate to the **Contents** page, and hover over the item that you want to view history for, and click the drop-down arrow.
31+
32+
2. In the drop-down menu, click **View Report History**.
33+
34+
3. Click **New Snapshot**. A new snapshot is created in the **When Run** column.
35+
36+
> [!NOTE]
37+
> In order to do this, the report history must be configured by the administrator to **Allow history to be created manually**. For more information, see [Limit Report History &#40;Report Manager&#41;](../reports/limit-report-history-report-manager.md).
38+
39+
4. Click **Apply**.
40+
41+
::: moniker-end
42+
43+
::: moniker range=">=sql-server-2017||=sqlallproducts-allversions"
44+
45+
1. In Report Manager, navigate to the **Contents** page, and hover over the item that you want to view history for, and click the ellipses (...).
46+
47+
2. In the drop-down menu, click **View Report History**.
48+
49+
3. Click **New history snapshot**. A new snapshot is created and listed.
50+
51+
> [!NOTE]
52+
> In order to do this, the report history must be configured by the administrator to **Allow history to be created manually**. For more information, see [Limit Report History &#40;Report Manager&#41;](../../reporting-services/reports/limit-report-history-report-manager.md).
53+
54+
4. Click **Apply**.
55+
56+
::: moniker-end
57+
58+
### To automatically add all snapshots to report history
59+
60+
1. For a report that is already configured to run as a report execution snapshot, you can set additional properties to save a copy of the snapshot to report history each time the snapshot is refreshed.
61+
62+
2. In Report Manager, navigate to the **Contents** page, hover over the item that you want to view history for, and click the drop-down arrow.
63+
64+
3. In the drop-down menu, click **Manage**.
65+
66+
4. Click **Snapshot Options**.
67+
68+
5. Select the check box for **Store all report execution snapshots in history**.
69+
70+
6. Click **Apply**.
71+
72+
### To automatically add snapshots to report history based on a schedule
73+
74+
1. In Report Manager, navigate to the **Contents** page, and hover over the item that you want to view history for, and click the drop-down arrow.
75+
76+
2. In the drop-down menu, click **Manage**.
77+
78+
3. Click **Snapshot Options**.
79+
80+
4. Select the check box for **Use the following schedule to add snapshots to report history**. Perform one of the following:
81+
82+
- Select **Report-specific schedule**. Fill in the schedule details, select the start and end dates for the schedule, and then click **OK**.
83+
84+
- Select **Shared schedule**. From the list, select the preferred schedule.
85+
86+
5. Click **Apply**.
87+
88+
## See Also
89+
90+
- [Configure Execution Properties for a Report &#40;Report Manager&#41;](../../reporting-services/reports/configure-execution-properties-for-a-report-report-manager.md)
91+
- [Open and Close a Report &#40;Report Manager&#41;](../../reporting-services/reports/open-and-close-a-report-report-manager.md)- [Limit Report History &#40;Report Manager&#41;](../../reporting-services/reports/limit-report-history-report-manager.md)
92+
- [Schedules](../../reporting-services/subscriptions/schedules.md)
93+
- [Report Manager &#40;SSRS Native Mode&#41;](https://msdn.microsoft.com/library/80949f9d-58f5-48e3-9342-9e9bf4e57896)

0 commit comments

Comments
 (0)