Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit 0767f58

Browse files
committed
December 2019 Release
1 parent 6145553 commit 0767f58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Commands/Base/DisconnectSPOnline.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ public class DisconnectSPOnline : PSCmdlet
2222

2323
protected override void ProcessRecord()
2424
{
25+
#if !ONPREMISES
2526
if(SPOnlineConnection.CurrentConnection.CertFile != null)
2627
{
2728
SPOnlineConnectionHelper.CleanupCryptoMachineKey(SPOnlineConnection.CurrentConnection.CertFile);
2829
SPOnlineConnection.CurrentConnection.CertFile = null;
2930
}
31+
#endif
3032
var success = false;
3133
if (Connection != null)
3234
{

0 commit comments

Comments
 (0)