.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> SharePoint >> Post New Question Subscribe to Interview Questions

Would you use SPWebApplication to get information like the SMTP address of the SharePoint site?

Posted By :Sasi Prabhu     Posted Date :October 31, 2011    Points :40   Category :SharePoint 

Yes, since this is a Web Application level setting. You would iterate through each SPWebApplication in the SPWebApplication collection, and then use the appropriate property calls (OutboundMailServiceInstance) in order to return settings regarding the mail service such as the SMTP address.


You can also find related Interview Question to Would you use SPWebApplication to get information like the SMTP address of the SharePoint site?  below: 

Would you use SPWebApplication to get information like the SMTP address of the SharePoint site?

  
Yes, since this is a Web Application level setting. You would iterate through each SPWebApplication in the SPWebApplication collection, and then use the appropriate property calls (OutboundMailServiceInstance) in order to return settings regarding the mail service such as the SMTP address.
(More...)

Would you use SPWebApplication to get information like the SMTP address of the SharePoint site?

  
Yes, since this is a Web Application level setting. You would iterate through each SPWebApplication in the SPWebApplication collection, and then use the appropriate property calls (OutboundMailServiceInstance) in order to return settings regarding the mail service such as the SMTP address. Side Question: I got asked if there are other ways to send emails from SharePoint. The answer is yes, there is. You can use the SendMail method from the SPutility class to send simple emails, however it is not as robust as using the System.Net.Mail functionality since it doesn't allow things like setting priorities on the email. (More...)

Can I download information directly from a SharePoint site to a personal digital assistant (PDA)?

  


No you cannot. However, you can exchange contact information lists with Microsoft Outlook.
(More...)

What is a site definition in SharePoint?

  
A site definition is a methods in SharePoint for providing pre packaged site and list content. (More...)

What are the differences between web part page gallery, site gallery,Virtual server gallery and online gallery in SharePoint?

  
Web Part Page Gallery in SharePoint is the default gallery provided by Microsoft that comes installed with SharePoint. Site Gallery is specific to one sharepoint website site. Virtual Server gallery is specific to that virtual server and online gallery is available for download web parts from MSDN. (More...)

How do I invite users to join a Windows SharePoint Services Site? Is the site secure?

  
SharePoint-based Web sites can be password-protected to restrict access to registered users, who are invited to join via e-mail. In addition, the site administrator can restrict certain members' roles by assigning different permission levels to view post and edit. (More...)

How do I make my site non-restricted in Sharepoint?

  
If you want your site to have anonymous access enabled (i.e., you want to treat it like any site on the Internet that does not ask you to provide a user name and password to see the content of the site),
If you want to make your sharepoint website available on Internet and anybody can use it than you can follow below steps:

1) Log-in as an administrator
2) Click on site settings
3) Click on Go to Site Administration
4) Click on Manage anonymous access
5) Choose one of the three conditions on what Anonymous users can access:** Entire Web site** Lists and libraries** Nothing Default condition is nothing; your site has restricted access.
The default conditions allow you to create a secure site for your Web site. (More...)

Any User outside of organization to participate in my Windows SharePoint Services site

  
Yes. You can manage this process using the Administration Site Settings. Simply add users via their e-mail alias and assign permissions such as Reader or Contributor. (More...)

What types of files can I upload / post to the SharePoint site?

  
The only files restricted in Sharepoint are those ending with the following extensions: .asa, .asp, .ida, .idc, .idq.Microsoft reserves the right to add additional file types to this listing at any time. Also, no content that violates the terms of service may be uploaded or posted to the site. (More...)

difference between backup file and .stp file in sharepoint site

  
A backup file is more like a DB snapshot (if you are talking about the backup operation of STSADM)

You can save a site with our without content as template and can create other sites based upon that site template. For that first you have to save your site as a template which will be saved with extension .STP, OOB there is limitation of 10MB in size but u can increase the size upto 2 GB using STSADM command. (More...)

What is a SharePoint site definition? What is ghosted (uncustomized) and unghosted (customized)?

  
SharePoint site definitions are the core set of functionality from which SharePoint site are built from, building from the SiteTemplates directory in the SharePoint 12 hive. Site definitions allow several sites to inherit from a core set of files on the file system, although appear to have unique pages, thereby increasing performance and allowing changes that happen to a site propagate to all sites that inherit from a site definition. Ghosted means that when SharePoint creates a new site it will reference the files in the related site definition upon site provisioning. Unghosted means that the site has been edited with an external editor, and therefore the customizations are instead stored in the database, breaking the inheritance of those files from the file system. (More...)

What are safe controls, and what type of information, is placed in that element in a SharePoint web.config file?

  
When you deploy a WebPart to SharePoint, you must first make it as a safe control to use within SharePoint in the web.config file. Entries made in the safe controls element of SharePoint are encountered by the SharePointHandler object and will be loaded in the SharePoint environment properly, those not will not be loaded and will throw an error.
In the generic safe control entry (this is general, there could be more), there is generally the Assembly name, the namespace, the public key token numeric, the typename, and the safe declaration (whether it is safe or not). There are other optional elements. (More...)

How is SharePoint Portal Server different from the Site Server?

  
Site Server has search capabilities but these are more advanced using SharePoint.
SPS uses digital dashboard technology which provides a nice interface for creating web parts and showing them ondashboards (pages). SS doesn't have anything as advanced as that. The biggest difference wouldbe SPS document management features which also integrate with web folders and MS Office. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend