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

Commit c47c67e

Browse files
committed
moer see also changes
1 parent 5179773 commit c47c67e

28 files changed

Lines changed: 133 additions & 192 deletions

docs/database-engine/service-broker/error-handling-for-service-broker.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,5 @@ Error handling in an application that uses Service Broker has two distinct aspec
2626
- [Handling Poison Messages](handling-poison-messages.md)
2727
Describes strategies for recovering from poison messages.
2828

29-
## See also#### Other Resources
30-
31-
[Understanding Database Engine Errors](../../relational-databases/errors-events/understanding-database-engine-errors.md)
29+
## See also[Understanding Database Engine Errors](../../relational-databases/errors-events/understanding-database-engine-errors.md)
3230

docs/database-engine/service-broker/handling-poison-messages.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,4 @@ If you believe that the processing you perform on the message might cause a tran
186186
[sys.conversation_endpoints (Transact-SQL)](../../relational-databases/system-catalog-views/sys-conversation-endpoints-transact-sql.md)
187187
[Removing Poison Messages](removing-poison-messages.md)
188188

189-
#### Other Resources
190-
191189
[Understanding Database Engine Errors](../../relational-databases/errors-events/understanding-database-engine-errors.md)

docs/database-engine/service-broker/handling-transact-sql-errors.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,5 @@ Second, an application should always hold a lock on a conversation group before
2323
## See also
2424
[SAVE TRANSACTION (Transact-SQL)](../../t-sql/language-elements/save-transaction-transact-sql.md)
2525

26-
#### Other Resources
27-
2826
[Understanding Database Engine Errors](../../relational-databases/errors-events/understanding-database-engine-errors.md)
2927

docs/database-engine/service-broker/how-to-create-certificates-for-service-broker-transport-security-transact-sql.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ To set up Service Broker transport security for an instance of SQL Server, you f
1818

1919
For more information using certificates for Service Broker transport security, see [How to: Allow Service Broker Network Access by Using Certificates (Transact-SQL)](how-to-allow-service-broker-network-access-by-using-certificates-transact-sql.md).
2020

21-
### To create a certificate for Service Broker transport security
21+
## To create a certificate for Service Broker transport security
2222

2323
- Create a certificate in the **master** database.
2424

2525
## Example
26+
2627
```sql
2728
USE master ;
2829
GO
@@ -37,9 +38,7 @@ For more information using certificates for Service Broker transport security, s
3738
```
3839

3940
## See also
40-
[CREATE CERTIFICATE (Transact-SQL)](../../t-sql/statements/create-certificate-transact-sql.md)
41-
42-
[CREATE ENDPOINT (Transact-SQL)](../../t-sql/statements/create-endpoint-transact-sql.md)
43-
44-
[ALTER ENDPOINT (Transact-SQL)](../../t-sql/statements/alter-endpoint-transact-sql.md)
4541

42+
- [CREATE CERTIFICATE (Transact-SQL)](../../t-sql/statements/create-certificate-transact-sql.md)
43+
- [CREATE ENDPOINT (Transact-SQL)](../../t-sql/statements/create-endpoint-transact-sql.md)
44+
- [ALTER ENDPOINT (Transact-SQL)](../../t-sql/statements/alter-endpoint-transact-sql.md)

docs/database-engine/service-broker/how-to-deactivate-service-broker-message-delivery-in-databases-transact-sql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ When message delivery is not active, messages remain in the transmission queue.
3434
```
3535

3636
## See also
37-
[ALTER DATABASE (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql.md)
38-
39-
[sys.databases (Transact-SQL)](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md)[sys.transmission_queue (Transact-SQL)](../../relational-databases/system-catalog-views/sys-transmission-queue-transact-sql.md)
4037

38+
- [ALTER DATABASE (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql.md)
39+
- [sys.databases (Transact-SQL)](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md)
40+
- [sys.transmission_queue (Transact-SQL)](../../relational-databases/system-catalog-views/sys-transmission-queue-transact-sql.md)

docs/database-engine/service-broker/how-to-deactivate-service-broker-message-forwarding-transact-sql.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,5 @@ Message forwarding allows an instance of SQL Server to accept messages from outs
3232

3333
## See also
3434

35-
36-
[How to: Activate Service Broker Networking (Transact-SQL)](how-to-activate-service-broker-networking-transact-sql.md)
37-
38-
[How to: Activate Service Broker Message Forwarding (Transact-SQL)](how-to-activate-service-broker-message-forwarding-transact-sql.md)
39-
35+
- [How to: Activate Service Broker Networking (Transact-SQL)](how-to-activate-service-broker-networking-transact-sql.md)
36+
- [How to: Activate Service Broker Message Forwarding (Transact-SQL)](how-to-activate-service-broker-message-forwarding-transact-sql.md)

docs/database-engine/service-broker/how-to-deactivate-service-broker-networking-transact-sql.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,9 @@ Service Broker sends and receives messages over the network while any Service Br
3030
```
3131

3232
## See also
33-
[How to: Activate Service Broker Networking (Transact-SQL)](how-to-activate-service-broker-networking-transact-sql.md)
34-
35-
[How to: Pause Service Broker Networking (Transact-SQL)](how-to-pause-service-broker-networking-transact-sql.md)
36-
37-
38-
39-
[ALTER DATABASE (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql.md)
40-
41-
[ALTER ENDPOINT (Transact-SQL)](../../t-sql/statements/alter-endpoint-transact-sql.md)
42-
43-
[CREATE ENDPOINT (Transact-SQL)](../../t-sql/statements/create-endpoint-transact-sql.md)
4433

34+
- [How to: Activate Service Broker Networking (Transact-SQL)](how-to-activate-service-broker-networking-transact-sql.md)
35+
- [How to: Pause Service Broker Networking (Transact-SQL)](how-to-pause-service-broker-networking-transact-sql.md)
36+
- [ALTER DATABASE (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql.md)
37+
- [ALTER ENDPOINT (Transact-SQL)](../../t-sql/statements/alter-endpoint-transact-sql.md)
38+
- [CREATE ENDPOINT (Transact-SQL)](../../t-sql/statements/create-endpoint-transact-sql.md)

docs/database-engine/service-broker/how-to-pause-service-broker-networking-transact-sql.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ ms.date: "03/30/2022"
1616

1717
Service Broker sends and receives messages over the network while any endpoint for Service Broker is in the **STARTED** state. To pause Service Broker networking, alter all Service Broker endpoints to set the state to **STOPPED**. Notice that this prevents Service Broker from transmitting messages out of the instance or receiving messages from outside of the instance, but does not affect message delivery within the instance. To prevent message delivery to a specific database, use **ALTER DATABASE** to deactivate Service Broker in that database.
1818

19-
### To pause Service Broker networking
19+
## To pause Service Broker networking
2020

2121
- Alter all Service Broker endpoints to set the state to **STOPPED**.
2222

2323
## Example
24+
2425
```sql
2526
USE master ;
2627
GO
@@ -32,16 +33,8 @@ Service Broker sends and receives messages over the network while any endpoint f
3233

3334
## See also
3435

35-
36-
[How to: Deactivate Service Broker Networking (Transact-SQL)](how-to-deactivate-service-broker-networking-transact-sql.md)
37-
38-
[How to: Resume Service Broker Networking (Transact-SQL)](how-to-resume-service-broker-networking-transact-sql.md)
39-
40-
41-
42-
[ALTER DATABASE (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql.md)
43-
44-
[ALTER ENDPOINT (Transact-SQL)](../../t-sql/statements/alter-endpoint-transact-sql.md)
45-
46-
[CREATE ENDPOINT (Transact-SQL)](../../t-sql/statements/create-endpoint-transact-sql.md)
47-
36+
- [How to: Deactivate Service Broker Networking (Transact-SQL)](how-to-deactivate-service-broker-networking-transact-sql.md)
37+
- [How to: Resume Service Broker Networking (Transact-SQL)](how-to-resume-service-broker-networking-transact-sql.md)
38+
- [ALTER DATABASE (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql.md)
39+
- [ALTER ENDPOINT (Transact-SQL)](../../t-sql/statements/alter-endpoint-transact-sql.md)
40+
- [CREATE ENDPOINT (Transact-SQL)](../../t-sql/statements/create-endpoint-transact-sql.md)

docs/database-engine/service-broker/how-to-resume-service-broker-networking-transact-sql.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ Service Broker sends and receives messages over the network while any endpoint f
1919
> [!NOTE]
2020
> Activating Service Broker networking allows Service Broker to send and receive messages over the network. The authentication level set on the endpoint controls which network connections are accepted by the endpoint. For more information on Service Broker networking and security, see [Security Overview (Service Broker)](security-overview.md).
2121
22-
### To resume Service Broker networking
22+
## To resume Service Broker networking
2323

2424
- Alter an endpoint to set the state to **STARTED**.
2525

2626
## Example
27+
2728
```sql
2829
USE master ;
2930
GO
@@ -35,18 +36,9 @@ Service Broker sends and receives messages over the network while any endpoint f
3536

3637
## See also
3738

38-
39-
[How to: Activate Service Broker Networking (Transact-SQL)](how-to-activate-service-broker-networking-transact-sql.md)
40-
41-
[How to: Deactivate Service Broker Networking (Transact-SQL)](how-to-deactivate-service-broker-networking-transact-sql.md)
42-
43-
[How to: Pause Service Broker Networking (Transact-SQL)](how-to-pause-service-broker-networking-transact-sql.md)
44-
45-
46-
47-
[ALTER DATABASE (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql.md)
48-
49-
[ALTER ENDPOINT (Transact-SQL)](../../t-sql/statements/alter-endpoint-transact-sql.md)
50-
51-
[CREATE ENDPOINT (Transact-SQL)](../../t-sql/statements/create-endpoint-transact-sql.md)
52-
39+
- [How to: Activate Service Broker Networking (Transact-SQL)](how-to-activate-service-broker-networking-transact-sql.md)
40+
- [How to: Deactivate Service Broker Networking (Transact-SQL)](how-to-deactivate-service-broker-networking-transact-sql.md)
41+
- [How to: Pause Service Broker Networking (Transact-SQL)](how-to-pause-service-broker-networking-transact-sql.md)
42+
- [ALTER DATABASE (Transact-SQL)](../../t-sql/statements/alter-database-transact-sql.md)
43+
- [ALTER ENDPOINT (Transact-SQL)](../../t-sql/statements/alter-endpoint-transact-sql.md)
44+
- [CREATE ENDPOINT (Transact-SQL)](../../t-sql/statements/create-endpoint-transact-sql.md)

docs/database-engine/service-broker/how-to-retrieve-information-from-a-service-broker-error-message-transact-sql.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,24 @@ ms.date: "03/30/2022"
1616

1717
A message of type **https://schemas.microsoft.com/SQL/ServiceBroker/Error** is a Service Broker error message. Messages of this type are XML documents that contain a numeric code for the error and a description of the error.
1818

19-
### To retrieve the information from a Service Broker error message
19+
## To retrieve the information from a Service Broker error message
2020

21-
1. Declare a variable of type int to hold the error code.
21+
1. Declare a variable of type int to hold the error code.
2222

23-
2. Declare a variable of type nvarchar(3000) to hold the error description.
23+
2. Declare a variable of type nvarchar(3000) to hold the error description.
2424

25-
3. Declare a variable of type xml to hold an XML representation of the message body.
25+
3. Declare a variable of type xml to hold an XML representation of the message body.
2626

27-
4. CAST the message body from varbinary(max) to xml, and assign the results to the variable of type xml.
27+
4. CAST the message body from varbinary(max) to xml, and assign the results to the variable of type xml.
2828

29-
5. Use the value function of the xml data type to retrieve the error code.
29+
5. Use the value function of the xml data type to retrieve the error code.
3030

31-
6. Use the value function of the xml data type to retrieve the error description.
31+
6. Use the value function of the xml data type to retrieve the error description.
3232

33-
7. Handle the error as appropriate for your application. Errors with negative error codes are generated by Service Broker. Errors with positive error codes are generated by service programs that ran END CONVERSATION WITH ERROR.
33+
7. Handle the error as appropriate for your application. Errors with negative error codes are generated by Service Broker. Errors with positive error codes are generated by service programs that ran END CONVERSATION WITH ERROR.
3434

3535
## Example
36+
3637
```sql
3738
-- The variables to hold the error code and the description are
3839
-- provided by the caller.
@@ -84,8 +85,6 @@ A message of type **https://schemas.microsoft.com/SQL/ServiceBroker/Error** is a
8485
```
8586

8687
## See also
87-
[Broker System Messages](broker-system-messages.md)
88-
89-
#### Other Resources
9088

91-
[XQuery Basics](../../xquery/xquery-basics.md)
89+
- [Broker System Messages](broker-system-messages.md)
90+
- [XQuery Basics](../../xquery/xquery-basics.md)

0 commit comments

Comments
 (0)