PublisherAssertionCollection.Add Method (String, String, KeyedReference)
Note: The Microsoft UDDI SDK is not supported by or included in Microsoft Windows versions after Microsoft Windows Server 7. The Microsoft UDDI V3 SDK is included with Microsoft BizTalk Server. For more information about the Microsoft UDDI V3 SDK, see Microsoft BizTalk Server documentation
Creates a PublisherAssertion object from the specified from key, to key, and KeyedReference object and adds it to the collection.
Namespace: Microsoft.Uddi.Businesses
Assembly: microsoft.uddi (in microsoft.uddi.dll)
Usage
Visual Basic |
---|
Dim instance As PublisherAssertionCollection Dim fromKey As String Dim toKey As String Dim keyedReference As KeyedReference Dim returnValue As Integer returnValue = instance.Add(fromKey, toKey, keyedReference) |
Syntax
'Declaration
PublicFunctionAdd ( _
fromKeyAsString, _
toKeyAsString, _
keyedReferenceAsKeyedReference _
) AsInteger
publicintAdd (
stringfromKey,
stringtoKey,
KeyedReferencekeyedReference
)
public:
intAdd (
String^ fromKey,
String^ toKey,
KeyedReference^ keyedReference
)
publicintAdd (
StringfromKey,
StringtoKey,
KeyedReferencekeyedReference
)
publicfunctionAdd (
fromKey : String,
toKey : String,
keyedReference : KeyedReference
) : int
Parameters
- fromKey
Contains a string that is copied to the PublisherAssertion.FromKey field.
- toKey
Contains a string that is copied to the PublisherAssertion.ToKey field.
- keyedReference
Contains a KeyedReference object that is copied to the PublisherAssertion.KeyedReference property.
Return Value
Returns the zero-based index of the item in the collection.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Target Platforms
Windows Server 2008, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP
See Also
Reference
PublisherAssertionCollection Class
PublisherAssertionCollection Members
Microsoft.Uddi.Businesses Namespace
KeyedReference Class
PublisherAssertion.FromKey Property
PublisherAssertion.ToKey Property
PublisherAssertion.KeyedReference Property