Get-ServiceFabricClusterConnection
获取当前的 Service Fabric 群集连接。
语法
Default (默认值)
Get-ServiceFabricClusterConnection
[-TimeoutSec <Int32>]
[<CommonParameters>]
说明
Get-ServiceFabricClusterConnection cmdlet 获取当前的 Service Fabric 群集连接。 若要创建群集连接,请使用 Connect-ServiceFabricCluster cmdlet。
示例
示例 1:获取当前群集连接
PS C:\> Get-ServiceFabricClusterConnection
此命令获取当前的 Service Fabric 群集连接。
参数
-TimeoutSec
指定操作的超时期限(以秒为单位)。
参数属性
| 类型: | Int32 |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。