.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

What are content databases?

Posted By :Zakeer     Posted Date :October 14, 2011    Points :40   Category :SharePoint 

A content database can hold all the content for one or more site collections.

You can also find related Interview Question to What are content databases?  below: 

How to Move content Databases using PowerShell ?

  
To attach\detach an existing content database use

Mount-SPContentDatabase "" -DatabaseServer "" -WebApplication http://WebapplicationName

is the content database to be attached.

is the name of the database server.

http://WebapplicationName is the name of the Web application to which the content database is being attached.

To detach a content database:

Dismount-SPContentDatabase "" (More...)

Q. How to Move content Databases using PowerShell ?

  
Ans. To attach\detach an existing content database use

Mount-SPContentDatabase "" -DatabaseServer "" -WebApplication http://WebapplicationName

is the content database to be attached.

is the name of the database server.

http://WebapplicationName is the name of the Web application to which the content database is being attached.

To detach a content database:

Dismount-SPContentDatabase ""

See more Commands at Windows Powershell Common Commands

(More...)

All session content can be Removed ?

  
Yes, All session content can be Removed using following codes :

Session.Contents.RemoveAll()

it Removes all items from current Session. (More...)

Let us say the SQL Server crashed and you are rebuilding the databases including the master database what procedure to you follow?

  
For restoring the master db we have to stop the SQL Server first and then from command line we can type SQLSERVER -m which will basically bring it into the maintenance mode after which we can restore the master db. (More...)

What are content types in SharePoint?

  
A content type is a flexible and reusable WSS type definition (or we can a template) that defines the columns and behavior for an item in a list or a document in a document library. For example, you can create a content type for a leave approval document with a unique set of columns, an event handler, and its own document template and attach it with a document library/libraries. (More...)

which event will perform first when a content page is loaded ?

  
Master page controls Init event is performed first when a content page is loaded. (More...)

What are content types?

  
A content type is a flexible and reusable WSS type definition (or we can a template) that defines the columns and behavior for an item in a list or a document in a document library. For example, you can create a content type for a leave approval document with a unique set of columns, an event handler, and its own document template and attach it with a document library/libraries. (More...)

Can a content type have receivers associated with it?

  
Yes, a content type can have an event receiver associated with it, either inheriting from the SPListEventReciever base class for list level events, or inheriting from the SPItemEventReciever base class. Whenever the content type is instantiated, it will be subject to the event receivers that are associated with it. (More...)

What two files are typically (this is kept generally) included when developing a content type, and what is the purpose of each?

  
There is generally the main content type file that holds things like the content type ID, name, group, description, and version. There is also the ContentType.Fields file which contains the fields to include in the content type that has the ID, Type, Name, DisplayName, StaticName, Hidden, Required, and Sealed elements. They are related by the FieldRefs element in the main content type file. (More...)

What is an ancestral type and what does it have to do with content types?

  
An ancestral type is the base type that the content type is deriving from, such as Document (0x0101). The ancestral type will define the metadata fields that are included with the custom content type.
(More...)

Can a list definition be derived from a custom content type?

  
Yes, a list definition can derive from a content type which can be seen in the schema.XML of the list definition in the element. (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