MethodInstance Members

Include Protected Members
Include Inherited Members

Describes how to call a method. It is a reference to a method, plus the default values for the input parameters the method takes.

The MethodInstance type exposes the following members.

Properties

  Name Description
Public property DefaultDisplayName Gets the default display name of the metadata object. (Inherited from MetadataObject.)
Public property Id Gets the unique ID of the metadata object from the metadata repository. (Inherited from MetadataObject.)
Public property IsCached Indicates whether this metadata object is cached or not. (Inherited from MetadataObject.)
Public property LocalizedDisplayName Gets or sets the localized display name for the metadata object. (Inherited from MetadataObject.)
Public property LocalizedDisplayNames Gets all the localized display names available for this metadata object. (Inherited from MetadataObject.)
Public property Method Returns the method the method instance belongs to.
Public property MethodId Returns the ID of the method the method instance belongs to.
Public property MethodInstanceType Sets or gets the type of the method instance.
Public property Name Gets or sets the name of the metadata object. (Inherited from MetadataObject.)
Public property Properties Gets all the properties that belong to this metadata object. (Inherited from MetadataObject.)
Public property ReturnTypeDescriptor

Top

Methods

  Name Description
Public method ContainsLocalizedDisplayName Indicates whether the metadata object contains a localized display name. (Inherited from MetadataObject.)
Public method CopyAclAcrossChildren A virtual method that is designed to copy the list of access control entries (ACEs) associated with the metadata object to all of its children metadata objects. Each individually securable metadata object inherits from this class and provides its own implementation of this method. (Inherited from IndividuallySecurableMetadataObject.)
Public method Delete Deletes the method instance from the Business Data Catalog. (Overrides AccessControlledMetadataObject.Delete().)
Protected method DeleteInternal When overridden in a derived class, deletes the metadata object and all of its children as per the specified SQL command. (Inherited from MetadataObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAccessControlList A virtual method that is designed to return the list of access control entries (ACEs) associated with the metadata object registered in the Business Data Catalog. Each individually securable metadata object inherits from this class and provides its own implementation of this method. (Inherited from IndividuallySecurableMetadataObject.)
Public methodStatic member GetById Gets the method instance object given its ID.
Public method GetHashCode (Inherited from Object.)
Protected method GetIndividuallySecurableMetadataObjectChildren Returns the individually securable metadata objects. (Overrides IndividuallySecurableMetadataObject.GetIndividuallySecurableMetadataObjectChildren().)
Protected method GetNearestIndividuallySecurableMetadataObjectAncestor Returns the nearest individually securable ancestor. Of the 13 metadata objects, only LobSystem, Entity, Method, and MethodInstance have their own individually securable access control list (ACL). Other metadata objects inherit the ACL from their immediate individually securable parent. (Inherited from IndividuallySecurableMetadataObject.)
Public method GetType (Inherited from Object.)
Protected method IsPrimitive Indicates whether the metadata object is of the specified primitive type. (Inherited from MetadataObject.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member MergeXml
Public method Read Reads a method instance from the Business Data Catalog. (Overrides MetadataObject.Read().)
Protected method ReadInternal When overridden in a derived class, reads the metadata object from the metadata repository and creates an object. (Inherited from MetadataObject.)
Public methodStatic member ReadXml
Public method SetAccessControlList Sets the access control list for an individually securable metadata object. (Inherited from IndividuallySecurableMetadataObject.)
Public method ToString (Inherited from Object.)
Public method Update Updates the MethodInstance object with the changes. (Overrides AccessControlledMetadataObject.Update().)
Protected method UpdateInternal Infrastructure. (Overrides MetadataObject.UpdateInternal(SqlCommand).)
Public method WriteXml (Overrides IndividuallySecurableMetadataObject.WriteXml(XmlWriter, PackageContents).)
Public method WriteXmlLocalizedNames Writes the specified XML fragment containing localized names in the metadata repository. (Inherited from MetadataObject.)
Public method WriteXmlProperties Writes the specified XML fragment containing properties in the metadata repository. (Inherited from MetadataObject.)
Public method WriteXmlSecurity(XmlWriter) Writes the XML fragment containing security information to the metadata repository. (Inherited from IndividuallySecurableMetadataObject.)
Public method WriteXmlSecurity(XmlWriter, PackageContents) Writes the XML fragment containing security information. (Inherited from AccessControlledMetadataObject.)

Top

Fields

  Name Description
Protected field version Represents the version number of the metadata object. (Inherited from MetadataObject.)

Top

See Also

Reference

MethodInstance Class

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace