DiscoveryUrlCollection.Add Method (String, String)
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 DiscoveryUrl object from the specified URL and usage-type string and adds it to the collection.
Namespace: Microsoft.Uddi.Businesses
Assembly: microsoft.uddi (in microsoft.uddi.dll)
Usage
Visual Basic |
---|
Dim instance As DiscoveryUrlCollection Dim url As String Dim useType As String Dim returnValue As Integer returnValue = instance.Add(url, useType) |
Syntax
'Declaration
PublicFunctionAdd ( _
urlAsString, _
useTypeAsString _
) AsInteger
publicintAdd (
stringurl,
stringuseType
)
public:
intAdd (
String^ url,
String^ useType
)
publicintAdd (
Stringurl,
StringuseType
)
publicfunctionAdd (
url : String,
useType : String
) : int
Parameters
- url
Contains a string that is copied to the DiscoveryUrl.Text field.
- useType
Contains a string that is copied to the DiscoveryUrl.UseType field.
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
DiscoveryUrlCollection Class
DiscoveryUrlCollection Members
Microsoft.Uddi.Businesses Namespace
DiscoveryUrl Structure