DeploymentObject.SyncTo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用所提供的參數來同步處理目前的 DeploymentObject 實例。
多載
| SyncTo(DeploymentBaseOptions, DeploymentSyncOptions) |
使用指定的基底選項和同步處理選項,同步處理目前的 DeploymentObject 實例。 |
| SyncTo(DeploymentProviderOptions, DeploymentBaseOptions, DeploymentSyncOptions) |
使用提供者選項、基底選項和指定的同步處理選項,同步處理目前的 DeploymentObject 實例。 |
| SyncTo(DeploymentWellKnownProvider, String, DeploymentBaseOptions, DeploymentSyncOptions) |
使用指定的已知提供者名稱、路徑、基底選項和同步處理選項,同步處理目前的 DeploymentObject 實例。 |
| SyncTo(String, String, DeploymentBaseOptions, DeploymentSyncOptions) |
使用指定的處理站名稱、路徑、基底選項和同步處理選項,同步處理目前的 DeploymentObject 實例。 |
SyncTo(DeploymentBaseOptions, DeploymentSyncOptions)
使用指定的基底選項和同步處理選項,同步處理目前的 DeploymentObject 實例。
public:
Microsoft::Web::Deployment::DeploymentChangeSummary ^ SyncTo(Microsoft::Web::Deployment::DeploymentBaseOptions ^ baseOptions, Microsoft::Web::Deployment::DeploymentSyncOptions ^ syncOptions);
public Microsoft.Web.Deployment.DeploymentChangeSummary SyncTo(Microsoft.Web.Deployment.DeploymentBaseOptions baseOptions, Microsoft.Web.Deployment.DeploymentSyncOptions syncOptions);
member this.SyncTo : Microsoft.Web.Deployment.DeploymentBaseOptions * Microsoft.Web.Deployment.DeploymentSyncOptions -> Microsoft.Web.Deployment.DeploymentChangeSummary
Public Function SyncTo (baseOptions As DeploymentBaseOptions, syncOptions As DeploymentSyncOptions) As DeploymentChangeSummary
參數
- baseOptions
- DeploymentBaseOptions
同步處理作業中使用的基底選項。
- syncOptions
- DeploymentSyncOptions
同步處理作業中使用的有效 DeploymentSyncOptions 實例。
傳回
適用於
SyncTo(DeploymentProviderOptions, DeploymentBaseOptions, DeploymentSyncOptions)
使用提供者選項、基底選項和指定的同步處理選項,同步處理目前的 DeploymentObject 實例。
public:
Microsoft::Web::Deployment::DeploymentChangeSummary ^ SyncTo(Microsoft::Web::Deployment::DeploymentProviderOptions ^ providerOptions, Microsoft::Web::Deployment::DeploymentBaseOptions ^ baseOptions, Microsoft::Web::Deployment::DeploymentSyncOptions ^ syncOptions);
public Microsoft.Web.Deployment.DeploymentChangeSummary SyncTo(Microsoft.Web.Deployment.DeploymentProviderOptions providerOptions, Microsoft.Web.Deployment.DeploymentBaseOptions baseOptions, Microsoft.Web.Deployment.DeploymentSyncOptions syncOptions);
member this.SyncTo : Microsoft.Web.Deployment.DeploymentProviderOptions * Microsoft.Web.Deployment.DeploymentBaseOptions * Microsoft.Web.Deployment.DeploymentSyncOptions -> Microsoft.Web.Deployment.DeploymentChangeSummary
Public Function SyncTo (providerOptions As DeploymentProviderOptions, baseOptions As DeploymentBaseOptions, syncOptions As DeploymentSyncOptions) As DeploymentChangeSummary
參數
- providerOptions
- DeploymentProviderOptions
用來建立同步處理作業中使用的部署提供者的選項。
- baseOptions
- DeploymentBaseOptions
同步處理作業中使用的基底選項。
- syncOptions
- DeploymentSyncOptions
同步處理作業中使用的有效 DeploymentSyncOptions 實例。
傳回
適用於
SyncTo(DeploymentWellKnownProvider, String, DeploymentBaseOptions, DeploymentSyncOptions)
使用指定的已知提供者名稱、路徑、基底選項和同步處理選項,同步處理目前的 DeploymentObject 實例。
public:
Microsoft::Web::Deployment::DeploymentChangeSummary ^ SyncTo(Microsoft::Web::Deployment::DeploymentWellKnownProvider provider, System::String ^ path, Microsoft::Web::Deployment::DeploymentBaseOptions ^ baseOptions, Microsoft::Web::Deployment::DeploymentSyncOptions ^ syncOptions);
public Microsoft.Web.Deployment.DeploymentChangeSummary SyncTo(Microsoft.Web.Deployment.DeploymentWellKnownProvider provider, string path, Microsoft.Web.Deployment.DeploymentBaseOptions baseOptions, Microsoft.Web.Deployment.DeploymentSyncOptions syncOptions);
member this.SyncTo : Microsoft.Web.Deployment.DeploymentWellKnownProvider * string * Microsoft.Web.Deployment.DeploymentBaseOptions * Microsoft.Web.Deployment.DeploymentSyncOptions -> Microsoft.Web.Deployment.DeploymentChangeSummary
Public Function SyncTo (provider As DeploymentWellKnownProvider, path As String, baseOptions As DeploymentBaseOptions, syncOptions As DeploymentSyncOptions) As DeploymentChangeSummary
參數
- provider
- DeploymentWellKnownProvider
- path
- String
同步處理作業中要使用的處理站路徑。
- baseOptions
- DeploymentBaseOptions
同步處理作業中使用的基底選項。
- syncOptions
- DeploymentSyncOptions
同步處理作業中使用的有效 DeploymentSyncOptions 實例。
傳回
適用於
SyncTo(String, String, DeploymentBaseOptions, DeploymentSyncOptions)
使用指定的處理站名稱、路徑、基底選項和同步處理選項,同步處理目前的 DeploymentObject 實例。
public:
Microsoft::Web::Deployment::DeploymentChangeSummary ^ SyncTo(System::String ^ provider, System::String ^ path, Microsoft::Web::Deployment::DeploymentBaseOptions ^ baseOptions, Microsoft::Web::Deployment::DeploymentSyncOptions ^ syncOptions);
public Microsoft.Web.Deployment.DeploymentChangeSummary SyncTo(string provider, string path, Microsoft.Web.Deployment.DeploymentBaseOptions baseOptions, Microsoft.Web.Deployment.DeploymentSyncOptions syncOptions);
member this.SyncTo : string * string * Microsoft.Web.Deployment.DeploymentBaseOptions * Microsoft.Web.Deployment.DeploymentSyncOptions -> Microsoft.Web.Deployment.DeploymentChangeSummary
Public Function SyncTo (provider As String, path As String, baseOptions As DeploymentBaseOptions, syncOptions As DeploymentSyncOptions) As DeploymentChangeSummary
參數
- provider
- String
- path
- String
同步處理作業中要使用的處理站路徑。
- baseOptions
- DeploymentBaseOptions
同步處理作業中使用的基底選項。
- syncOptions
- DeploymentSyncOptions
同步處理作業中使用的有效 DeploymentSyncOptions 實例。