Utility.GetAppLicenseDeploymentId 方法
傳回 SharePoint 部署部署識別碼。
命名空間: Microsoft.SharePoint.Client.Utilities
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public Shared Function GetAppLicenseDeploymentId ( _
context As ClientRuntimeContext _
) As ClientResult(Of Guid)
'用途
Dim context As ClientRuntimeContext
Dim returnValue As ClientResult(Of Guid)
returnValue = Utility.GetAppLicenseDeploymentId(context)
public static ClientResult<Guid> GetAppLicenseDeploymentId(
ClientRuntimeContext context
)
參數
傳回值
類型:Microsoft.SharePoint.Client.ClientResult<Guid>
針對指定的 SharePoint 部署部署識別碼。
備註
SharePoint 相關應用程式,針對每個應用程式授權適用於特定 SharePoint 部署的特定應用程式。一般而言,應用程式授權,以定義部署 SharePoint 伺服器陣列的內部部署的 SharePoint 安裝,以及 SharePoint Online 在 Office 365 中的 tenancy。部署範圍可以視情況而定,不過,根據內部部署的 SharePoint 安裝的設定。
部署 ID 是 GUID 產生的 SharePoint 和記錄的任何人都特定的 SharePoint 安裝造訪 Office 市集網站 Office 市集第一次。
永不發佈或傳輸未經授權的協力廠商您部署的識別碼。對於內部部署的 SharePoint 安裝,伺服器陣列管理員可以設定損毀復原或測試/生產環境狀況透過 Windows PowerShell 的部署識別碼。
如需詳細資訊,在部署識別碼及應用程式授權的相關資訊,請參閱授權您的 Office 和 SharePoint 增益集。