Partager via


Method.IsStatic, propriété (Microsoft.Office.Server.ApplicationRegistry.Administration)

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

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Property IsStatic As Boolean
'Utilisation
Dim instance As Method
Dim value As Boolean

value = instance.IsStatic

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

Valeur de la propriété

true or false.

Remarques

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.

Voir aussi

Référence

Method, classe
Membres Method
Microsoft.Office.Server.ApplicationRegistry.Administration, espace de noms