ConnectionExtensionsPromote Method |
Namespace: Innovator.ClientAssembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax public static IReadOnlyResult Promote(
this IConnection conn,
string itemTypeName,
string id,
string newState,
string comments = null
)
<ExtensionAttribute>
Public Shared Function Promote (
conn As IConnection,
itemTypeName As String,
id As String,
newState As String,
Optional comments As String = Nothing
) As IReadOnlyResult
Parameters
- conn
- Type: Innovator.ClientIConnection
- itemTypeName
- Type: SystemString
- id
- Type: SystemString
- newState
- Type: SystemString
- comments (Optional)
- Type: SystemString
Return Value
Type:
IReadOnlyResultUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IConnection. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also