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

Commit aafa6f0

Browse files
author
MightyPen
committed
More fix of 1552923. Metadata validation errors. Adding 'author: VanMSFT'.
1 parent 10d4183 commit aafa6f0

14 files changed

Lines changed: 62 additions & 83 deletions

.openpublishing.redirection.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3632,7 +3632,12 @@
36323632
"redirect_url":"/sql/tools/sql-server-profiler/start-sql-server-profiler",
36333633
"redirect_document_id":false
36343634
},
3635-
{
3635+
{
3636+
"source_path": "docs/relational-databases/system-stored-procedures/sp-dropalias-transact-sql.md",
3637+
"redirect_url": "/sql/relational-databases/system-stored-procedures/",
3638+
"redirect_document_id": false
3639+
},
3640+
{
36363641
"source_path": "docs/relational-databases/system-dynamic-management-views/linux-process-dynamic-management-views-transact-sql.md",
36373642
"redirect_url": "/sql/relational-databases/system-dynamic-management-views/system-dynamic-management-views",
36383643
"redirect_document_id": false

docs/relational-databases/system-stored-procedures/sp-dropalias-transact-sql.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/relational-databases/system-stored-procedures/sp-dropanonymousagent-transact-sql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ helpviewer_keywords:
1414
- "sp_dropanonymousagent"
1515
ms.assetid: 4cb96efa-9358-44a3-a8ee-a7e181bed089
1616
ms.author: vanto
17-
manager: craigg
18-
manager: craigg
17+
author: VanMSFT
18+
manager: jroth
1919
---
2020
# sp_dropanonymousagent (Transact-SQL)
21+
2122
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)]
2223

2324
Drops an anonymous agent for replication monitoring at the distributor from the Publisher. This stored procedure is executed at the Publisher on any database.
@@ -27,7 +28,6 @@ manager: craigg
2728
## Syntax
2829

2930
```
30-
3131
sp_dropanonymousagent [ @subid= ] sub_id , [ @type= ] type
3232
```
3333

docs/relational-databases/system-stored-procedures/sp-dropapprole-transact-sql.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ helpviewer_keywords:
1616
- "sp_dropapprole"
1717
ms.assetid: ea1aefe6-8f7d-46e9-a3cb-7b037b393e73
1818
ms.author: vanto
19-
manager: craigg
20-
manager: craigg
19+
author: VanMSFT
20+
manager: jroth
2121
---
2222
# sp_dropapprole (Transact-SQL)
23+
2324
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)]
2425

2526
Removes an application role from the current database.
@@ -32,7 +33,6 @@ manager: craigg
3233
## Syntax
3334

3435
```
35-
3636
sp_dropapprole [@rolename = ] 'role'
3737
```
3838

@@ -54,7 +54,7 @@ sp_dropapprole [@rolename = ] 'role'
5454
## Examples
5555
The following example removes the `SalesApp` application role from the current database.
5656

57-
```
57+
```sql
5858
EXEC sp_dropapprole 'SalesApp';
5959
```
6060

docs/relational-databases/system-stored-procedures/sp-dropremotelogin-transact-sql.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ helpviewer_keywords:
1616
- "sp_dropremotelogin"
1717
ms.assetid: 9f097652-a286-40b2-be73-568d77ada698
1818
ms.author: vanto
19-
manager: craigg
20-
manager: craigg
19+
author: VanMSFT
20+
manager: jroth
2121
---
2222
# sp_dropremotelogin (Transact-SQL)
23+
2324
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)]
2425

2526
Removes a remote login mapped to a local login used to execute remote stored procedures against the local server running [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
@@ -32,7 +33,6 @@ manager: craigg
3233
## Syntax
3334

3435
```
35-
3636
sp_dropremotelogin [ @remoteserver = ] 'remoteserver'
3737
[ , [ @loginame = ] 'login' ]
3838
[ , [ @remotename = ] 'remote_name' ]
@@ -68,21 +68,21 @@ sp_dropremotelogin [ @remoteserver = ] 'remoteserver'
6868
### A. Dropping all remote logins for a remote server
6969
The following example removes the entry for the remote server `ACCOUNTS`, and, therefore, removes all mappings between logins on the local server and remote logins on the remote server.
7070

71-
```
71+
```sql
7272
EXEC sp_dropremotelogin 'ACCOUNTS';
7373
```
7474

7575
### B. Dropping a login mapping
7676
The following example removes the entry for mapping remote logins from the remote server `ACCOUNTS` to the local login `Albert`.
7777

78-
```
78+
```sql
7979
EXEC sp_dropremotelogin 'ACCOUNTS', 'Albert';
8080
```
8181

8282
### C. Dropping a remote user
8383
The following example removes the login for the remote login `Chris` on the remote server `ACCOUNTS` that was mapped to the local login `salesmgr`.
8484

85-
```
85+
```sql
8686
EXEC sp_dropremotelogin 'ACCOUNTS', 'salesmgr', 'Chris';
8787
```
8888

docs/relational-databases/system-stored-procedures/sp-droprolemember-transact-sql.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ helpviewer_keywords:
1616
- "sp_droprolemember"
1717
ms.assetid: c2f19ab1-e742-4d56-ba8e-8ffd40cf4925
1818
ms.author: vanto
19-
manager: craigg
20-
manager: craigg
19+
author: VanMSFT
20+
manager: jroth
2121
monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current"
2222
---
2323
# sp_droprolemember (Transact-SQL)
24+
2425
[!INCLUDE[tsql-appliesto-ss2008-all-md](../../includes/tsql-appliesto-ss2008-all-md.md)]
2526

2627
Removes a security account from a [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] role in the current database.
@@ -31,17 +32,17 @@ monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-s
3132
![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
3233

3334
## Syntax
34-
35+
36+
### Syntax for both SQL Server and Azure SQL Database
37+
3538
```
36-
-- Syntax for SQL Server and Azure SQL Database
37-
3839
sp_droprolemember [ @rolename = ] 'role' ,
3940
[ @membername = ] 'security_account'
4041
```
41-
42+
43+
### Syntax for both Azure SQL Data Warehouse and Parallel Data Warehouse
44+
4245
```
43-
-- Syntax for Azure SQL Data Warehouse and Parallel Data Warehouse
44-
4546
sp_droprolemember 'role' ,
4647
'security_account'
4748
```
@@ -69,14 +70,14 @@ sp_droprolemember 'role' ,
6970
## Examples
7071
The following example removes the user `JonB` from the role `Sales`.
7172

72-
```
73+
```sql
7374
EXEC sp_droprolemember 'Sales', 'Jonb';
7475
```
7576

7677
## Examples: [!INCLUDE[ssSDWfull](../../includes/sssdwfull-md.md)] and [!INCLUDE[ssPDW](../../includes/sspdw-md.md)]
7778
The following example removes the user `JonB` from the role `Sales`.
7879

79-
```
80+
```sql
8081
EXEC sp_droprolemember 'Sales', 'JonB'
8182
```
8283

docs/relational-databases/system-stored-procedures/sp-enum-login-for-proxy-transact-sql.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ helpviewer_keywords:
1616
- "sp_enum_login_for_proxy"
1717
ms.assetid: 62a75019-248a-44c8-a5cc-c79f55ea3acf
1818
ms.author: vanto
19-
manager: craigg
20-
manager: craigg
19+
author: VanMSFT
20+
manager: jroth
2121
---
2222
# sp_enum_login_for_proxy (Transact-SQL)
23+
2324
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)]
2425

2526
Lists associations between security principals and proxies.
@@ -29,7 +30,6 @@ manager: craigg
2930
## Syntax
3031

3132
```
32-
3333
sp_enum_login_for_proxy
3434
[ @name = ] 'name'
3535
[ @proxy_id = ] id,
@@ -57,6 +57,7 @@ sp_enum_login_for_proxy
5757
|**proxy_name**|**sysname**|The name of the proxy.|
5858
|**name**|**sysname**|Name of the security principal for the association.|
5959
|**flags**|**int**|Type of the security principal.<br /><br /> **0** = [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] login<br /><br /> **1** = Fixed system role<br /><br /> **2** = Database role in **msdb**|
60+
| &nbsp; | &nbsp; | &nbsp; |
6061

6162
## Remarks
6263
When no parameters are provided, **sp_enum_login_for_proxy** lists information about all logins in the instance for every proxy.
@@ -75,7 +76,7 @@ sp_enum_login_for_proxy
7576
### A. Listing all associations
7677
The following example lists all permissions established between logins and proxies in the current instance.
7778

78-
```
79+
```sql
7980
USE msdb ;
8081
GO
8182

@@ -86,7 +87,7 @@ GO
8687
### B. Listing proxies for a specific login
8788
The following example lists the proxies that the login `terrid` has access to.
8889

89-
```
90+
```sql
9091
USE msdb ;
9192
GO
9293

docs/relational-databases/system-stored-procedures/sp-enum-proxy-for-subsystem-transact-sql.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ helpviewer_keywords:
1616
- "sp_enum_proxy_for_subsystems"
1717
ms.assetid: 580cc3be-1068-4a96-8d15-78ca3a5bb719
1818
ms.author: vanto
19-
manager: craigg
19+
author: VanMSFT
2020
manager: craigg
2121
---
2222
# sp_enum_proxy_for_subsystem (Transact-SQL)
23+
2324
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)]
2425

2526
Lists permissions for [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent proxies to access subsystems.
@@ -29,7 +30,6 @@ manager: craigg
2930
## Syntax
3031

3132
```
32-
3333
sp_enum_proxy_for_subsystem
3434
[ @proxy_id = ] proxy_id,
3535
[ @proxy_name = ] 'proxy_name',
@@ -61,6 +61,7 @@ sp_enum_proxy_for_subsystem
6161
|**subsystem_name**|**sysname**|The name of the subsystem.|
6262
|**proxy_id**|**int**|Proxy identification number.|
6363
|**proxy_name**|**sysname**|The name of the proxy.|
64+
| &nbsp; | &nbsp; | &nbsp; |
6465

6566
## Remarks
6667
When no parameters are provided, **sp_enum_proxy_for_subsystem** lists information about all proxies in the instance for every subsystem.
@@ -79,7 +80,7 @@ sp_enum_proxy_for_subsystem
7980
### A. Listing all associations
8081
The following example lists all permissions established between proxies and subsystems for the current instance.
8182

82-
```
83+
```sql
8384
USE msdb ;
8485
GO
8586

@@ -90,7 +91,7 @@ GO
9091
### B. Determining if a proxy has access to a specific subsystem
9192
The following example returns a row if the proxy `Catalog application proxy` has access to the `ActiveScripting` subsystem. Otherwise, the example returns an empty result set.
9293

93-
```
94+
```sql
9495
USE msdb ;
9596
GO
9697

docs/relational-databases/system-stored-procedures/sp-grant-login-to-proxy-transact-sql.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ helpviewer_keywords:
1616
- "sp_grant_login_to_proxy"
1717
ms.assetid: 90e1a6d5-a692-4462-a163-4b0709d83150
1818
ms.author: vanto
19-
manager: craigg
20-
manager: craigg
19+
author: VanMSFT
20+
manager: jrothj
2121
---
2222
# sp_grant_login_to_proxy (Transact-SQL)
23+
2324
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)]
2425

2526
Grants a security principal access to a proxy.
@@ -30,7 +31,6 @@ manager: craigg
3031
## Syntax
3132

3233
```
33-
3434
sp_grant_login_to_proxy
3535
{ [ @login_name = ] 'login_name'
3636
| [ @fixed_server_role = ] 'fixed_server_role'
@@ -66,7 +66,7 @@ sp_grant_login_to_proxy
6666
## Examples
6767
The following example allows the login `adventure-works\terrid` to use the proxy `Catalog application proxy`.
6868

69-
```
69+
```sql
7070
USE msdb ;
7171
GO
7272

docs/relational-databases/system-stored-procedures/sp-grant-proxy-to-subsystem-transact-sql.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ dev_langs:
1515
helpviewer_keywords:
1616
- "sp_grant_proxy_to_subsystem"
1717
ms.assetid: 866aaa27-a1e0-453a-9b1b-af39431ad9c2
18+
author: VanMSFT
1819
ms.author: vanto
19-
manager: craigg
20-
manager: craigg
20+
manager: jroth
2121
---
2222
# sp_grant_proxy_to_subsystem (Transact-SQL)
23+
2324
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)]
2425

2526
Grants a proxy access to a subsystem.
@@ -29,7 +30,6 @@ manager: craigg
2930
## Syntax
3031

3132
```
32-
3333
sp_grant_proxy_to_subsystem
3434
{ [ @proxy_id = ] proxy_id | [ @proxy_name = ] 'proxy_name' },
3535
{ [ @subsystem_id = ] subsystem_id | [ @subsystem_name = ] 'subsystem_name' }
@@ -58,6 +58,7 @@ sp_grant_proxy_to_subsystem
5858
|**10**|Analysis Services Command|
5959
|**11**|[!INCLUDE[ssIS](../../includes/ssis-md.md)] package execution|
6060
|**12**|PowerShell Script|
61+
| &nbsp; | &nbsp; |
6162

6263
`[ @subsystem_name = ] 'subsystem_name'`
6364
The name of the subsystem to grant access to. The **subsystem_name** is **sysname**, with a default of NULL. Either *subsystem_id* or *subsystem_name* must be specified, but both cannot be specified. The following table lists the values for each subsystem.
@@ -75,6 +76,7 @@ sp_grant_proxy_to_subsystem
7576
|**ANALYSISCOMMAND**|Analysis Services Command|
7677
|**Dts**|SSIS package execution|
7778
|**PowerShell**|PowerShell Script|
79+
| &nbsp; | &nbsp; |
7880

7981
## Remarks
8082
Granting a proxy access to a subsystem does not change the permissions for the principal specified in the proxy.
@@ -87,7 +89,7 @@ sp_grant_proxy_to_subsystem
8789
### A. Granting access to a subsystem by ID
8890
The following example grants the proxy `Catalog application proxy` access to the ActiveX Scripting subsystem.
8991

90-
```
92+
```sql
9193
USE msdb ;
9294
GO
9395

@@ -100,7 +102,7 @@ GO
100102
### B. Granting access to a subsystem by name.
101103
The following example grants the proxy `Catalog application proxy` access to the SSIS package execution subsystem.
102104

103-
```
105+
```sql
104106
USE msdb ;
105107
GO
106108

0 commit comments

Comments
 (0)