Hello,
I did install the
- 16 versions of the client side object model assemblies. (http://www.microsoft.com/en-us/download/details.aspx?id=42038)
- SharePoint Online Client Components SDK (http://www.microsoft.com/en-in/download/details.aspx?id=35585)
Now, when I am trying to load Tenant like below:
Microsoft.Online.SharePoint.TenantAdministration.Tenant tenant = new Tenant(ctx); ctx.Load(tenant, t => t.ResourceQuota, t => t.ResourceQuotaAllocated, t => t.StorageQuota, t => t.StorageQuotaAllocated); ctx.ExecuteQuery();
It gives error:
Method Microsoft.SharePoint.Client.ClientRuntimeContext.Load: type argument 'Microsoft.Online.SharePoint.TenantAdministration.Tenant' violates the constraint of type parameter 'T'.
So, is that 16 version of client side assemblies does not work with Tenant object? Or am I missing something?
Regards, Nanddeep Nachan