Share via


Method.IsStatic Property

Gets a Boolean true or false indicating the method is a static method or instance method.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Property IsStatic As Boolean
    Get
    Set
'Usage
Dim instance As Method
Dim value As Boolean

value = instance.IsStatic

instance.IsStatic = value
public bool IsStatic { get; set; }

Property Value

Type: System.Boolean
true or false.

Remarks

If true, you can execute this method without an entity instance, by calling the Entity.Execute() object model method. If false, you must execute the method in the context of an entity instance, by calling IEntityInstance.Execute().

Finder methods are static.

See Also

Reference

Method Class

Method Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace