Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Tries to get the property value specified by the name parameter and type specified by the property parameter.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Private Function TryGetPropertyValue ( _
name As String, _
<OutAttribute> ByRef value As Object _
) As Boolean Implements ISfcPropertySet.TryGetPropertyValue
'Usage
Dim instance As PropertyCollection
Dim name As String
Dim value As Object
Dim returnValue As Boolean
returnValue = CType(instance, ISfcPropertySet).TryGetPropertyValue(name, _
value)
bool ISfcPropertySet.TryGetPropertyValue(
string name,
out Object value
)
private:
virtual bool TryGetPropertyValue(
String^ name,
[OutAttribute] Object^% value
) sealed = ISfcPropertySet::TryGetPropertyValue
private abstract TryGetPropertyValue :
name:string *
value:Object byref -> bool
private override TryGetPropertyValue :
name:string *
value:Object byref -> bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- name
Type: System.String
A string value that specifies the name of the property.
- value
Type: System.Object%
An Object.
Return Value
Type: System.Boolean
A Boolean value, True if the collection contains the property value, otherwise False.
Implements
ISfcPropertySet.TryGetPropertyValue(String, Object%)