ISchemaReferenceInfo.GetTargetNamespace(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the namespace of the discovered schema.
public:
int GetTargetNamespace([Runtime::InteropServices::Out] System::String ^ % pbstrRef);
int GetTargetNamespace([Runtime::InteropServices::Out] std::wstring const & & pbstrRef);
public int GetTargetNamespace (out string pbstrRef);
abstract member GetTargetNamespace : string -> int
Public Function GetTargetNamespace (ByRef pbstrRef As String) As Integer
Parameters
- pbstrRef
- String
[out] Pointer to a string containing schema's namespace.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From discoveryservice.idl:
HRESULT ISchemaReferenceInfo::GetTargetNamespace(
[out, retval] BSTR * pbstrRef
);