SPContentDatabase.ID, propriété (Microsoft.SharePoint.Administration)

REMARQUE : cette propriété est maintenant obsolète.

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.)

Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

Syntaxe

'Déclaration
<ObsoleteAttribute("ID is obsolete.  Use Id instead.", False)> _
Public ReadOnly Property ID As Guid
'Utilisation
Dim instance As SPContentDatabase
Dim value As Guid

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

Valeur de la propriété

A System.Guid object that specifies the content database.

Voir aussi

Référence

SPContentDatabase, classe
Membres SPContentDatabase
Microsoft.SharePoint.Administration, espace de noms