Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the Guid that is associated with the object.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public ReadOnly Property Id As Guid
Get
'Usage
Dim instance As SPFeatureDefinition
Dim value As Guid
value = instance.Id
public Guid Id { get; }
Type: System.Guid
Returns a Guid object that identifies the SPFeature object.
Exception | Condition |
---|---|
ArgumentException | Null Guid is not allowed. |
The feature can be activated or deactivated at a given scope.
Microsoft.SharePoint.Administration namespace
How to: Create a Simple Feature
Working with Features