Click to Rate and Give Feedback

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
SPContentDatabase.ID Property (Microsoft.SharePoint.Administration)

NOTE: This property is now obsolete.

Use the Id property of the SPPersistedObject class instead. (In Windows SharePoint Services 2.0, the ID property returns the GUID of the content database and is maintained for backward compatibility.)

Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
<ObsoleteAttribute("ID is obsolete.  Use Id instead.", False)> _
Public ReadOnly Property ID As Guid
Visual Basic (Usage)
Dim instance As SPContentDatabase
Dim value As Guid

value = instance.ID
C#
[ObsoleteAttribute("ID is obsolete.  Use Id instead.", false)] 
public Guid ID { get; }

Property Value

A System.Guid object that specifies the content database.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker