IsProfileStateDefined
Indicates whether there is a profile state defined for this local group.
Syntax
bool IsProfileStateDefined {get;}
Property value
Returns true if there is an a profile state defined for this group.
Discussion
Setting this property to false will clear ProfileState.
Exceptions
IsProfileStateDefined throws an InvalidOperationException if:
- ProfileState is not defined and you attempt to set this property to true.
- this is not a local group profile and you attempt to set or get this property.