M
Morten Fagermoen
Hi!
I try to get the subnet location info using the code below found at
http://msdn2.microsoft.com/en-us/li...directory.activedirectorysubnet.location.aspx.
But it only tells me that "instance" is used before it has been assigned a
value. Can anyone tell me what to do to get my subnet location info?
Public Property SubnetLocation() As String
Get
Dim instance As ActiveDirectorySubnet
SubnetLocation = instance.Location
Console.WriteLine("SubnetLocation: " & SubnetLocation)
End Get
Set(ByVal value As String)
Dim instance As ActiveDirectorySubnet
instance.Location = SubnetLocation
End Set
End Property
Regards
Morten Fagermoen
I try to get the subnet location info using the code below found at
http://msdn2.microsoft.com/en-us/li...directory.activedirectorysubnet.location.aspx.
But it only tells me that "instance" is used before it has been assigned a
value. Can anyone tell me what to do to get my subnet location info?
Public Property SubnetLocation() As String
Get
Dim instance As ActiveDirectorySubnet
SubnetLocation = instance.Location
Console.WriteLine("SubnetLocation: " & SubnetLocation)
End Get
Set(ByVal value As String)
Dim instance As ActiveDirectorySubnet
instance.Location = SubnetLocation
End Set
End Property
Regards
Morten Fagermoen